1
0
mirror of https://github.com/immich-app/immich.git synced 2025-08-08 23:07:06 +02:00

chore(mobile): add orientation tests for exif (#16806)

Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
This commit is contained in:
shenlong
2025-03-11 19:55:46 +05:30
committed by GitHub
parent 2be8b6c16d
commit 653fa3f0b1
3 changed files with 75 additions and 7 deletions

View File

@ -1,6 +1,6 @@
import 'package:immich_mobile/entities/user.entity.dart';
final class UserStub {
abstract final class UserStub {
const UserStub._();
static final admin = User(
@ -8,9 +8,9 @@ final class UserStub {
updatedAt: DateTime(2021),
email: "admin@test.com",
name: "admin",
avatarColor: AvatarColorEnum.green,
profileImagePath: '',
isAdmin: true,
profileImagePath: '',
avatarColor: AvatarColorEnum.green,
);
static final user1 = User(
@ -18,9 +18,9 @@ final class UserStub {
updatedAt: DateTime(2022),
email: "user1@test.com",
name: "user1",
avatarColor: AvatarColorEnum.red,
profileImagePath: '',
isAdmin: false,
profileImagePath: '',
avatarColor: AvatarColorEnum.red,
);
static final user2 = User(
@ -28,8 +28,8 @@ final class UserStub {
updatedAt: DateTime(2023),
email: "user2@test.com",
name: "user2",
avatarColor: AvatarColorEnum.primary,
profileImagePath: '',
isAdmin: false,
profileImagePath: '',
avatarColor: AvatarColorEnum.primary,
);
}