This commit is contained in:
Rory Powell 2022-12-01 15:02:05 +00:00
parent 64ca3a0dc5
commit 4508796e45
1 changed files with 10 additions and 2 deletions

View File

@ -276,7 +276,11 @@ describe("/api/global/users", () => {
await config.createSession(nonAdmin)
const newUser = structures.users.user()
await config.api.users.saveUser(newUser, 403, config.authHeaders(nonAdmin))
await config.api.users.saveUser(
newUser,
403,
config.authHeaders(nonAdmin)
)
})
})
@ -440,7 +444,11 @@ describe("/api/global/users", () => {
const nonAdmin = await config.createUser(structures.users.builderUser())
await config.createSession(nonAdmin)
await config.api.users.saveUser(existingUser, 200, config.authHeaders(nonAdmin))
await config.api.users.saveUser(
existingUser,
200,
config.authHeaders(nonAdmin)
)
})
})