lint
This commit is contained in:
parent
64ca3a0dc5
commit
4508796e45
|
@ -276,7 +276,11 @@ describe("/api/global/users", () => {
|
||||||
await config.createSession(nonAdmin)
|
await config.createSession(nonAdmin)
|
||||||
|
|
||||||
const newUser = structures.users.user()
|
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())
|
const nonAdmin = await config.createUser(structures.users.builderUser())
|
||||||
await config.createSession(nonAdmin)
|
await config.createSession(nonAdmin)
|
||||||
|
|
||||||
await config.api.users.saveUser(existingUser, 200, config.authHeaders(nonAdmin))
|
await config.api.users.saveUser(
|
||||||
|
existingUser,
|
||||||
|
200,
|
||||||
|
config.authHeaders(nonAdmin)
|
||||||
|
)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue