mirror of
https://github.com/immich-app/immich.git
synced 2026-05-23 08:02:29 -04:00
refactor!: migrate class-validator to zod (#26597)
This commit is contained in:
@@ -287,7 +287,8 @@ describe('/admin/users', () => {
|
||||
it('should delete user', async () => {
|
||||
const { status, body } = await request(app)
|
||||
.delete(`/admin/users/${userToDelete.userId}`)
|
||||
.set('Authorization', `Bearer ${admin.accessToken}`);
|
||||
.set('Authorization', `Bearer ${admin.accessToken}`)
|
||||
.send({});
|
||||
|
||||
expect(status).toBe(200);
|
||||
expect(body).toMatchObject({
|
||||
|
||||
Reference in New Issue
Block a user