mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-07 01:28:52 -06:00
@@ -167,4 +167,12 @@ class PreferencesTest : BaseUnitTest() {
|
||||
assertTrue(prefs.showArchived)
|
||||
assertFalse(prefs.showCompleted)
|
||||
}
|
||||
|
||||
@Test
|
||||
@Throws(Exception::class)
|
||||
fun testMidnightDelay() {
|
||||
assertFalse(prefs.isMidnightDelayEnabled)
|
||||
prefs.isMidnightDelayEnabled = true
|
||||
assertTrue(prefs.isMidnightDelayEnabled)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user