Skip to content

Commit 78d3de6

Browse files
author
Dave Bartolomeo
committed
Fixup rename in test code
1 parent 64e867d commit 78d3de6

File tree

1 file changed

+3
-3
lines changed
  • extensions/ql-vscode/test/vscode-tests/activated-extension/databases

1 file changed

+3
-3
lines changed

extensions/ql-vscode/test/vscode-tests/activated-extension/databases/db-panel.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ describe("Db panel UI commands", () => {
5353
it.skip("should add new local db list", async () => {
5454
// Add db list
5555
jest.spyOn(window, "showQuickPick").mockResolvedValue({
56-
kind: DbListKind.Local,
56+
databaseKind: DbListKind.Local,
5757
} as AddListQuickPickItem);
5858
jest.spyOn(window, "showInputBox").mockResolvedValue("my-list-1");
5959
await commandManager.execute(
@@ -73,7 +73,7 @@ describe("Db panel UI commands", () => {
7373
it("should add new remote repository", async () => {
7474
// Add db
7575
jest.spyOn(window, "showQuickPick").mockResolvedValue({
76-
kind: "repo",
76+
remoteDatabaseKind: "repo",
7777
} as RemoteDatabaseQuickPickItem);
7878

7979
jest.spyOn(window, "showInputBox").mockResolvedValue("owner1/repo1");
@@ -96,7 +96,7 @@ describe("Db panel UI commands", () => {
9696
it("should add new remote owner", async () => {
9797
// Add owner
9898
jest.spyOn(window, "showQuickPick").mockResolvedValue({
99-
kind: "owner",
99+
remoteDatabaseKind: "owner",
100100
} as RemoteDatabaseQuickPickItem);
101101

102102
jest.spyOn(window, "showInputBox").mockResolvedValue("owner1");

0 commit comments

Comments
 (0)