Skip to content

Commit

Permalink
test: fix KsqlAuthorizationFilterTest
Browse files Browse the repository at this point in the history
  • Loading branch information
spena committed Oct 10, 2019
1 parent a50879b commit 10ec9d8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public void filterShouldAbortIfAuthorizationIsDenied() {
@Test
public void filterShouldContinueOnUnauthorizedMetadataPath() {
// Given:
ContainerRequest request = givenRequestContext(userPrincipal, "GET", "metadata");
ContainerRequest request = givenRequestContext(userPrincipal, "GET", "v1/metadata");

// When:
authorizationFilter.filter(request);
Expand All @@ -103,7 +103,7 @@ public void filterShouldContinueOnUnauthorizedMetadataPath() {
@Test
public void filterShouldContinueOnUnauthorizedMetadataIdPath() {
// Given:
ContainerRequest request = givenRequestContext(userPrincipal, "GET", "metadata/id");
ContainerRequest request = givenRequestContext(userPrincipal, "GET", "v1/metadata/id");

// When:
authorizationFilter.filter(request);
Expand Down

0 comments on commit 10ec9d8

Please sign in to comment.