Skip to content

Commit 4d107ac

Browse files
committed
Change test to derive current page from pagerState
1 parent 5a09c2f commit 4d107ac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/test/kotlin/org/cru/godtools/ui/onboarding/OnboardingPresenterTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class OnboardingPresenterTest {
4545
fun `Initial State - currentPage is 0`() = runTest {
4646
createPresenter().test {
4747
val state = awaitItem()
48-
assertEquals(0, state.currentPage)
48+
assertEquals(0, state.pagerState.currentPage)
4949
}
5050
}
5151

0 commit comments

Comments
 (0)