Skip to content

Commit

Permalink
Remove broken and unnecessary test
Browse files Browse the repository at this point in the history
  • Loading branch information
abcarrell authored and koral-- committed Aug 2, 2023
1 parent c577672 commit 2ad76f8
Showing 1 changed file with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -273,17 +273,6 @@ class PathQueryConditionTest {
.isEqualTo(-1)
}

@Test
fun `compareTo should return -1 when first condition http method has higher precedence than second condition`() {
val firstCondition = PathQueryConditionFactory()
.withPathSuffix("/abc", HTTPMethod.GET)
val secondCondition = PathQueryConditionFactory()
.withPathSuffix("/abc", HTTPMethod.POST)

assertThat(firstCondition.compareTo(secondCondition))
.isEqualTo(-1)
}

@Test
fun `compareTo should return -1 when the first condition has a parameter name and the second one does not`() {
val firstCondition = PathQueryConditionFactory()
Expand Down

0 comments on commit 2ad76f8

Please sign in to comment.