Skip to content

Commit 42d4543

Browse files
Merge pull request #243 from AikidoSec/match-endpoints-fix-test-case
match endpoints: fix test case
2 parents 1c8ed35 + b740b6d commit 42d4543

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

agent_api/src/test/java/helpers/MatchEndpointsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ private RouteMetadata sampleRouteMetadata(String url, String method, String rout
2626

2727
@Test
2828
void testInvalidUrlAndNoRoute() {
29-
assertNull(matchEndpoints(sampleRouteMetadata(null, null, "abc"), Collections.emptyList()));
29+
assertNull(matchEndpoints(new RouteMetadata(null, "abc", null), Collections.emptyList()));
3030
}
3131

3232
@Test

0 commit comments

Comments
 (0)