Skip to content

Commit

Permalink
Prioritise routes
Browse files Browse the repository at this point in the history
  • Loading branch information
flawmop committed Jan 18, 2024
1 parent eb7470a commit eae747f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ class SecurityConfigTests {
ReactiveClientRegistrationRepository mockReactiveClientRegistrationRepository;

@Test
void whenNotLoggedInAndAccessingUnsecuredButUnavailableThen404() {
webClient.get().uri("/favicon.ico").exchange().expectStatus().isNotFound();
void whenNotLoggedInAndAccessingUnsecuredButDoesNotExistThen404() {
webClient.get().uri("/img/doesNotExist.png").exchange().expectStatus().isNotFound();
}

@Test
Expand Down

0 comments on commit eae747f

Please sign in to comment.