mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-22 07:20:39 +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);
|
||||
});
|
||||
|
||||
tearDown(() {
|
||||
reset(sharedPreferences);
|
||||
});
|
||||
|
||||
group('migrateOldKeys()', () {
|
||||
test('no legacy keys', () async {
|
||||
when(() => sharedPreferences.getInt("curIsoIndex")).thenReturn(null);
|
||||
|
|
Loading…
Reference in a new issue