mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-06 09:08:52 -06:00
Fix kotlin null check
This commit is contained in:
@@ -105,7 +105,7 @@ class IntentSchedulerTest : BaseAndroidTest() {
|
|||||||
setSystemTime("America/Chicago", 2020, JUNE, 2, 22, 46)
|
setSystemTime("America/Chicago", 2020, JUNE, 2, 22, 46)
|
||||||
val intent = ReminderReceiver.lastReceivedIntent
|
val intent = ReminderReceiver.lastReceivedIntent
|
||||||
assertNotNull(intent)
|
assertNotNull(intent)
|
||||||
assertThat(parseId(intent.data!!), equalTo(habit.id))
|
assertThat(parseId(intent?.data!!), equalTo(habit.id))
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|||||||
Reference in New Issue
Block a user