mirror of
https://github.com/immich-app/immich.git
synced 2024-12-24 10:37:28 +02:00
8847ebeef2
* chore(deps): use mocktail instead of mockito * refactor: move stubs to fixtures/ * fix: fetch assetsortmode based on storeindex * test: validate AlbumSortByOptions provider --------- Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
10 lines
467 B
Dart
10 lines
467 B
Dart
import 'package:hooks_riverpod/hooks_riverpod.dart';
|
|
import 'package:immich_mobile/modules/settings/providers/app_settings.provider.dart';
|
|
import 'package:immich_mobile/modules/settings/services/app_settings.service.dart';
|
|
import 'package:mocktail/mocktail.dart';
|
|
|
|
class AppSettingsServiceMock with Mock implements AppSettingsService {}
|
|
|
|
Override getAppSettingsServiceMock(AppSettingsService service) =>
|
|
appSettingsServiceProvider.overrideWith((ref) => service);
|