mirror of
https://github.com/immich-app/immich.git
synced 2024-12-19 00:32:49 +02:00
16 lines
413 B
Dart
16 lines
413 B
Dart
|
import 'package:immich_mobile/modules/album/providers/current_album.provider.dart';
|
||
|
import 'package:immich_mobile/shared/models/album.dart';
|
||
|
import 'package:mocktail/mocktail.dart';
|
||
|
|
||
|
class MockCurrentAlbumProvider extends CurrentAlbum
|
||
|
with Mock
|
||
|
implements CurrentAlbumInternal {
|
||
|
Album? initAlbum;
|
||
|
MockCurrentAlbumProvider([this.initAlbum]);
|
||
|
|
||
|
@override
|
||
|
Album? build() {
|
||
|
return initAlbum;
|
||
|
}
|
||
|
}
|