Skip to content

Commit

Permalink
Ensure there is always a value for hasPost()
Browse files Browse the repository at this point in the history
  • Loading branch information
zwarm committed May 1, 2024
1 parent 67b4538 commit 96460b9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ class EditPostPublishSettingsViewModelTest : BaseUnitTest() {
null
}
whenever(editPostRepository.getPost()).thenReturn(post)
whenever(editPostRepository.hasPost()).thenReturn(true)
}

@Test
Expand Down

0 comments on commit 96460b9

Please sign in to comment.