diff --git a/test/data/shared_prefs_service_test.dart b/test/data/shared_prefs_service_test.dart index c0401e5..6143141 100644 --- a/test/data/shared_prefs_service_test.dart +++ b/test/data/shared_prefs_service_test.dart @@ -22,6 +22,10 @@ void main() { service = UserPreferencesService(sharedPreferences); }); + tearDown(() { + reset(sharedPreferences); + }); + group('migrateOldKeys()', () { test('no legacy keys', () async { when(() => sharedPreferences.getInt("curIsoIndex")).thenReturn(null);