mirror of
https://github.com/Art051/immich.git
synced 2025-08-11 19:29:00 +00:00
chore: cleanup e2e (#5051)
This commit is contained in:
18
server/test/fixtures/user.stub.ts
vendored
18
server/test/fixtures/user.stub.ts
vendored
@@ -1,6 +1,24 @@
|
||||
import { UserAvatarColor, UserEntity } from '@app/infra/entities';
|
||||
import { authStub } from './auth.stub';
|
||||
|
||||
export const userDto = {
|
||||
user1: {
|
||||
email: 'user1@immich.app',
|
||||
password: 'Password123',
|
||||
name: 'User 1',
|
||||
},
|
||||
user2: {
|
||||
email: 'user2@immich.app',
|
||||
password: 'Password123',
|
||||
name: 'User 2',
|
||||
},
|
||||
user3: {
|
||||
email: 'user3@immich.app',
|
||||
password: 'Password123',
|
||||
name: 'User 3',
|
||||
},
|
||||
};
|
||||
|
||||
export const userStub = {
|
||||
admin: Object.freeze<UserEntity>({
|
||||
...authStub.admin,
|
||||
|
||||
Reference in New Issue
Block a user