lint
This commit is contained in:
parent
cd2eb2d283
commit
dd452666b0
|
@ -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