mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-24 00:10:47 +00:00
fixed UserPreferencesProvider
tests
This commit is contained in:
parent
3fbe9ce046
commit
f6609d3072
1 changed files with 1 additions and 0 deletions
|
@ -27,6 +27,7 @@ void main() {
|
||||||
|
|
||||||
setUp(() {
|
setUp(() {
|
||||||
when(() => mockUserPreferencesService.evSourceType).thenReturn(EvSourceType.camera);
|
when(() => mockUserPreferencesService.evSourceType).thenReturn(EvSourceType.camera);
|
||||||
|
when(() => mockUserPreferencesService.showEv100).thenReturn(false);
|
||||||
when(() => mockUserPreferencesService.stopType).thenReturn(StopType.third);
|
when(() => mockUserPreferencesService.stopType).thenReturn(StopType.third);
|
||||||
when(() => mockUserPreferencesService.meteringScreenLayout).thenReturn({
|
when(() => mockUserPreferencesService.meteringScreenLayout).thenReturn({
|
||||||
MeteringScreenLayoutFeature.extremeExposurePairs: true,
|
MeteringScreenLayoutFeature.extremeExposurePairs: true,
|
||||||
|
|
Loading…
Reference in a new issue