mirror of
https://github.com/immich-app/immich.git
synced 2025-01-09 13:26:47 +01:00
f057fe045e
* refactor(mobile): entities * store entity * refactor: models * remove domain * save all * bad refactor
15 lines
415 B
Dart
15 lines
415 B
Dart
import 'package:immich_mobile/modules/album/providers/current_album.provider.dart';
|
|
import 'package:immich_mobile/entities/album.entity.dart';
|
|
import 'package:mocktail/mocktail.dart';
|
|
|
|
class MockCurrentAlbumProvider extends CurrentAlbum
|
|
with Mock
|
|
implements CurrentAlbumInternal {
|
|
Album? initAlbum;
|
|
MockCurrentAlbumProvider([this.initAlbum]);
|
|
|
|
@override
|
|
Album? build() {
|
|
return initAlbum;
|
|
}
|
|
}
|