mirror of
https://github.com/github/codeql-action.git
synced 2025-12-15 03:49:11 +08:00
Fix trailing slash on uploads URL
This commit is contained in:
2
lib/database-upload.test.js
generated
2
lib/database-upload.test.js
generated
@@ -177,7 +177,7 @@ async function mockHttpRequests(databaseUploadStatusCode) {
|
||||
}, (0, testing_utils_1.getRecordingLogger)(loggedMessages));
|
||||
t.assert(loggedMessages.find((v) => v.type === "debug" &&
|
||||
v.message === "Successfully uploaded database for javascript") !== undefined);
|
||||
t.assert(databaseUploadSpy.calledOnceWith(sinon.match.string, sinon.match.has("baseUrl", "https://uploads.tenant.ghe.com/")));
|
||||
t.assert(databaseUploadSpy.calledOnceWith(sinon.match.string, sinon.match.has("baseUrl", "https://uploads.tenant.ghe.com")));
|
||||
});
|
||||
});
|
||||
//# sourceMappingURL=database-upload.test.js.map
|
||||
Reference in New Issue
Block a user