mirror of
https://github.com/immich-app/immich
synced 2026-08-22 13:13:05 +00:00
refactor: users.total metric (#23158)
* refactor: users.total metric * fix: broken test
This commit is contained in:
parent
0b941d78c4
commit
a70843e2b4
10 changed files with 76 additions and 23 deletions
|
|
@ -1,4 +1,5 @@
|
|||
import {
|
||||
JobName,
|
||||
LoginResponseDto,
|
||||
createStack,
|
||||
deleteUserAdmin,
|
||||
|
|
@ -327,6 +328,8 @@ describe('/admin/users', () => {
|
|||
{ headers: asBearerAuth(user.accessToken) },
|
||||
);
|
||||
|
||||
await utils.waitForQueueFinish(admin.accessToken, JobName.BackgroundTask);
|
||||
|
||||
const { status, body } = await request(app)
|
||||
.delete(`/admin/users/${user.userId}`)
|
||||
.send({ force: true })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue