mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-06 09:08:52 -06:00
Fix failing unit test
This commit is contained in:
@@ -143,7 +143,7 @@ public class PreferencesTest extends BaseUnitTest
|
||||
@Test
|
||||
public void testTheme() throws Exception
|
||||
{
|
||||
assertThat(prefs.getTheme(), equalTo(ThemeSwitcher.THEME_LIGHT));
|
||||
assertThat(prefs.getTheme(), equalTo(ThemeSwitcher.THEME_AUTOMATIC));
|
||||
prefs.setTheme(ThemeSwitcher.THEME_DARK);
|
||||
assertThat(prefs.getTheme(), equalTo(ThemeSwitcher.THEME_DARK));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user