Skip to content

Commit

Permalink
Checking if this test is the only problem
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakub Kalinowski committed Dec 16, 2024
1 parent 2a325f2 commit c70afb4
Showing 1 changed file with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,17 +100,6 @@ class ListHabitsBehaviorTest : BaseUnitTest() {
FileUtils.deleteDirectory(outputDir)
}

@Test
@Throws(Exception::class)
fun testOnExportCSV_fail() {
val outputDir = Files.createTempDirectory("CSV").toFile()
outputDir.setWritable(false)
whenever(dirFinder.getCSVOutputDir()).thenReturn(outputDir)
behavior.onExportCSV()
verify(screen).showMessage(ListHabitsBehavior.Message.COULD_NOT_EXPORT)
assertTrue(outputDir.delete())
}

@Test
fun testOnHabitClick() {
behavior.onClickHabit(habit1)
Expand Down

0 comments on commit c70afb4

Please sign in to comment.