Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
westnordost committed Jun 3, 2022
1 parent eabff9b commit 8eaf060
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,17 @@ class AddOpeningHoursTest {
@Test fun `apply no opening hours sign answer`() {
questType.verifyAnswer(
NoOpeningHoursSign,
StringMapEntryAdd("opening_hours:signed", "no")
StringMapEntryAdd("opening_hours:signed", "no"),
StringMapEntryAdd("check_date:opening_hours", LocalDate.now().toCheckDateString())
)
}

@Test fun `apply no opening hours sign answer when there was an answer before`() {
questType.verifyAnswer(
mapOf("opening_hours" to "oh"),
NoOpeningHoursSign,
StringMapEntryAdd("opening_hours:signed", "no")
StringMapEntryAdd("opening_hours:signed", "no"),
StringMapEntryAdd("check_date:opening_hours", LocalDate.now().toCheckDateString())
)
}

Expand Down

0 comments on commit 8eaf060

Please sign in to comment.