summaryrefslogtreecommitdiffhomepage
path: root/android/app/src/androidTest
diff options
context:
space:
mode:
Diffstat (limited to 'android/app/src/androidTest')
-rw-r--r--android/app/src/androidTest/kotlin/net/mullvad/mullvadvpn/compose/screen/ChangelogScreenTest.kt14
1 files changed, 2 insertions, 12 deletions
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 968f16eb29..4494dadeb9 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,18 +24,8 @@ class ChangelogScreenTest {
MockKAnnotations.init(this)
}
- private fun ComposeContext.initScreen(
- state: ChangelogUiState,
- onSeeFullChangelog: () -> Unit = {},
- onBackClick: () -> Unit = {},
- ) {
- setContentWithTheme {
- ChangelogScreen(
- state = state,
- onSeeFullChangelog = onSeeFullChangelog,
- onBackClick = onBackClick,
- )
- }
+ private fun ComposeContext.initScreen(state: ChangelogUiState, onBackClick: () -> Unit = {}) {
+ setContentWithTheme { ChangelogScreen(state = state, onBackClick = onBackClick) }
}
@Test