Fix trailing slash on uploads URL
This commit is contained in:
parent
90e315a7a8
commit
24766fcf56
6 changed files with 19 additions and 6 deletions
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue