diff --git a/android/app/src/androidTest/kotlin/net/mullvad/mullvadvpn/compose/screen/ChangelogScreenTest.kt b/android/app/src/androidTest/kotlin/net/mullvad/mullvadvpn/compose/screen/ChangelogScreenTest.kt index 4494dadeb983..968f16eb2916 100644 --- a/android/app/src/androidTest/kotlin/net/mullvad/mullvadvpn/compose/screen/ChangelogScreenTest.kt +++ b/android/app/src/androidTest/kotlin/net/mullvad/mullvadvpn/compose/screen/ChangelogScreenTest.kt @@ -24,8 +24,18 @@ class ChangelogScreenTest { MockKAnnotations.init(this) } - private fun ComposeContext.initScreen(state: ChangelogUiState, onBackClick: () -> Unit = {}) { - setContentWithTheme { ChangelogScreen(state = state, onBackClick = onBackClick) } + private fun ComposeContext.initScreen( + state: ChangelogUiState, + onSeeFullChangelog: () -> Unit = {}, + onBackClick: () -> Unit = {}, + ) { + setContentWithTheme { + ChangelogScreen( + state = state, + onSeeFullChangelog = onSeeFullChangelog, + onBackClick = onBackClick, + ) + } } @Test