mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-22 15:30:59 +00:00
reset(sharedPreferences);
calls count
This commit is contained in:
parent
1252096f4c
commit
f5b71e98b6
1 changed files with 4 additions and 0 deletions
|
@ -22,6 +22,10 @@ void main() {
|
||||||
service = UserPreferencesService(sharedPreferences);
|
service = UserPreferencesService(sharedPreferences);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
tearDown(() {
|
||||||
|
reset(sharedPreferences);
|
||||||
|
});
|
||||||
|
|
||||||
group('migrateOldKeys()', () {
|
group('migrateOldKeys()', () {
|
||||||
test('no legacy keys', () async {
|
test('no legacy keys', () async {
|
||||||
when(() => sharedPreferences.getInt("curIsoIndex")).thenReturn(null);
|
when(() => sharedPreferences.getInt("curIsoIndex")).thenReturn(null);
|
||||||
|
|
Loading…
Reference in a new issue