Skip to content

Commit

Permalink
Remove failing test due to HttpMethod changes
Browse files Browse the repository at this point in the history
Closes gh-10569
  • Loading branch information
sjohnr committed Nov 30, 2021
1 parent 82426e2 commit c6a27d4
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
import java.util.LinkedHashMap;

import jakarta.servlet.FilterChain;

import org.junit.jupiter.api.Test;

import org.springframework.mock.web.MockHttpServletRequest;
Expand All @@ -32,7 +31,6 @@
import org.springframework.security.web.util.matcher.RequestMatcher;

import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException;
import static org.mockito.Mockito.mock;

/**
Expand Down Expand Up @@ -88,11 +86,6 @@ public void lookupRequiringExactMatchWithAdditionalSlashesIsSuccessful() {
// sign).isEqualTo(def)
}

@Test
public void unknownHttpMethodIsRejected() {
assertThatIllegalArgumentException().isThrownBy(() -> createFids("/someAdminPage.html**", "UNKNOWN"));
}

@Test
public void httpMethodLookupSucceeds() {
createFids("/somepage**", "GET");
Expand Down

0 comments on commit c6a27d4

Please sign in to comment.