Skip to content

Commit ebf992c

Browse files
authored
Pin tutorial pack in CLI authentication tests
1 parent 856b880 commit ebf992c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

extensions/ql-vscode/test/vscode-tests/cli-integration/run-cli.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ describe("Use cli", () => {
138138
.spyOn(authentication, "getSession")
139139
.mockResolvedValue(undefined);
140140

141-
await cli.packDownload(["codeql/tutorial"]);
141+
await cli.packDownload(["codeql/tutorial@0.0.11"]);
142142
expect(getSession).toHaveBeenCalledTimes(1);
143143
expect(getSession).toHaveBeenCalledWith(
144144
"github",
@@ -165,7 +165,7 @@ describe("Use cli", () => {
165165
scopes: ["read:packages"],
166166
});
167167

168-
await cli.packDownload(["codeql/tutorial"]);
168+
await cli.packDownload(["codeql/tutorial@0.0.11"]);
169169
expect(getSession).toHaveBeenCalledTimes(2);
170170
expect(getSession).toHaveBeenCalledWith(
171171
"github",

0 commit comments

Comments
 (0)