File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
app/src/test/kotlin/com/vrem/wifianalyzer/settings Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -174,14 +174,14 @@ class SettingsTest {
174174 // setup
175175 doReturn(it.ordinal)
176176 .whenever(repository)
177- .stringAsInteger(R .string.theme_key, ThemeStyle .SYSTEM .ordinal)
177+ .stringAsInteger(R .string.theme_key, ThemeStyle .DARK .ordinal)
178178 // execute
179179 val actual = fixture.themeStyle()
180180 // validate
181181 assertThat(actual).describedAs(" Theme: $it " ).isEqualTo(it)
182182 }
183183 verify(repository, times(ThemeStyle .entries.size))
184- .stringAsInteger(R .string.theme_key, ThemeStyle .SYSTEM .ordinal)
184+ .stringAsInteger(R .string.theme_key, ThemeStyle .DARK .ordinal)
185185 }
186186
187187 @Test
@@ -193,8 +193,8 @@ class SettingsTest {
193193 // execute
194194 val actual = fixture.themeStyle()
195195 // validate
196- assertThat(actual).isEqualTo(ThemeStyle .SYSTEM )
197- verify(repository).stringAsInteger(R .string.theme_key, ThemeStyle .SYSTEM .ordinal)
196+ assertThat(actual).isEqualTo(ThemeStyle .DARK )
197+ verify(repository).stringAsInteger(R .string.theme_key, ThemeStyle .DARK .ordinal)
198198 }
199199
200200 @Test
You can’t perform that action at this time.
0 commit comments