mirror of
				https://github.com/immich-app/immich.git
				synced 2025-10-30 18:35:00 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			550 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			550 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
| import 'package:hooks_riverpod/hooks_riverpod.dart';
 | |
| import 'package:immich_mobile/entities/user.entity.dart';
 | |
| import 'package:immich_mobile/providers/user.provider.dart';
 | |
| import 'package:immich_mobile/services/hash.service.dart';
 | |
| import 'package:mocktail/mocktail.dart';
 | |
| 
 | |
| class MockHashService extends Mock implements HashService {}
 | |
| 
 | |
| class MockCurrentUserProvider extends StateNotifier<User?>
 | |
|     with Mock
 | |
|     implements CurrentUserProvider {
 | |
|   MockCurrentUserProvider() : super(null);
 | |
| 
 | |
|   @override
 | |
|   set state(User? user) => super.state = user;
 | |
| }
 |