refactor: asset e2e (#7769)

This commit is contained in:
Jason Rasmussen 2024-03-09 12:51:58 -05:00 committed by GitHub
parent 8eb9dad989
commit 30b0b2474e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 852 additions and 1617 deletions

View file

@ -21,6 +21,13 @@ export const signupDto = {
};
export const createUserDto = {
create(key: string) {
return {
email: `${key}@immich.cloud`,
name: `User ${key}`,
password: `password-${key}`,
};
},
user1: {
email: 'user1@immich.cloud',
name: 'User 1',
@ -36,6 +43,12 @@ export const createUserDto = {
name: 'User 3',
password: 'password123',
},
userQuota: {
email: 'user-quota@immich.cloud',
name: 'User Quota',
password: 'password-quota',
quotaSizeInBytes: 512,
},
};
export const userDto = {