Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
westnordost committed Oct 11, 2023
1 parent f6775db commit fd5e7bb
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,8 @@ internal class UrlConfigKtTest {
assertNull(parseConfigUrl("https://streetcomplete.app/s?n=Test&q=d&qo=0.0", quests, overlays))
}

@Test fun `reject if name is missing`() {
assertNull(parseConfigUrl("https://streetcomplete.app/s?q=d", quests, overlays))
}

@Test fun `reject if quests is missing`() {
assertNull(parseConfigUrl("https://streetcomplete.app/s?q=d", quests, overlays))
assertNull(parseConfigUrl("https://streetcomplete.app/s?n=d", quests, overlays))
}

//endregion
Expand Down

0 comments on commit fd5e7bb

Please sign in to comment.