fix worker test

This commit is contained in:
Martin McKeaveney 2024-03-28 16:18:51 +00:00
parent 32a5ce24ec
commit a7722bccc0
1 changed files with 1 additions and 0 deletions

View File

@ -560,6 +560,7 @@ describe("/api/global/users", () => {
it("if user ssoId is already assigned, no change will be applied", async () => { it("if user ssoId is already assigned, no change will be applied", async () => {
const user = await createSSOUser() const user = await createSSOUser()
user.ssoId = "testssoId"
await config.api.users await config.api.users
.addSsoSupportInternalAPIAuth(user.ssoId, user.email) .addSsoSupportInternalAPIAuth(user.ssoId, user.email)
.expect(200) .expect(200)