test fix
This commit is contained in:
parent
f287dd4c04
commit
efa6e61ff0
1 changed files with 6 additions and 0 deletions
|
@ -26,6 +26,12 @@ class FakeMediaStoreService extends Fake implements MediaStoreService {
|
|||
return [];
|
||||
}
|
||||
|
||||
@override
|
||||
Future<int?> getGeneration() async {
|
||||
if (latency != null) await Future.delayed(latency!);
|
||||
return 0;
|
||||
}
|
||||
|
||||
@override
|
||||
Stream<AvesEntry> getEntries(Map<int?, int?> knownEntries, {String? directory}) => Stream.fromIterable(entries);
|
||||
|
||||
|
|
Loading…
Reference in a new issue