Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Rawa committed Dec 23, 2024
1 parent d3a783e commit 8ef06bf
Showing 1 changed file with 12 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8ef06bf

Please sign in to comment.