From 2ad76f87bc3f9c30f8bc2440fe868b17d53520dd Mon Sep 17 00:00:00 2001 From: Andrew Carrell Date: Mon, 31 Jul 2023 22:40:49 -0700 Subject: [PATCH] Remove broken and unnecessary test --- .../testing/mockwebserver/PathQueryConditionTest.kt | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/dispatcher/src/test/kotlin/pl/droidsonroids/testing/mockwebserver/PathQueryConditionTest.kt b/dispatcher/src/test/kotlin/pl/droidsonroids/testing/mockwebserver/PathQueryConditionTest.kt index b1ac0ab..fd6bb5b 100644 --- a/dispatcher/src/test/kotlin/pl/droidsonroids/testing/mockwebserver/PathQueryConditionTest.kt +++ b/dispatcher/src/test/kotlin/pl/droidsonroids/testing/mockwebserver/PathQueryConditionTest.kt @@ -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()