refactor: remove int user Id

This commit is contained in:
shenlong-tanwen
2025-03-11 23:22:57 +05:30
parent fea9a16f63
commit 155a2e83a9
13 changed files with 31 additions and 29 deletions
@@ -125,7 +125,7 @@ void main() {
when(() => userRepository.getAll()).thenAnswer((_) async => [owner]);
when(
() => assetRepository.getAll(
ownerId: owner.id,
ownerId: owner.uid,
sortBy: AssetSort.checksum,
),
).thenAnswer((_) async => initialAssets);
@@ -200,7 +200,7 @@ void main() {
expect(c1, isTrue);
when(
() => assetRepository.getAll(
ownerId: owner.id,
ownerId: owner.uid,
sortBy: AssetSort.checksum,
),
).thenAnswer((_) async => remoteAssets);
@@ -213,7 +213,7 @@ void main() {
final currentState = [...remoteAssets];
when(
() => assetRepository.getAll(
ownerId: owner.id,
ownerId: owner.uid,
sortBy: AssetSort.checksum,
),
).thenAnswer((_) async => currentState);