From eae747f444dbc5afb92b1263467f2b7da9eb944a Mon Sep 17 00:00:00 2001 From: flawmop Date: Wed, 17 Jan 2024 16:13:10 -0800 Subject: [PATCH] Prioritise routes --- .../portal/edgesvr/config/SecurityConfigTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/com/insilicosoft/portal/edgesvr/config/SecurityConfigTests.java b/src/test/java/com/insilicosoft/portal/edgesvr/config/SecurityConfigTests.java index b595547..7ccd145 100644 --- a/src/test/java/com/insilicosoft/portal/edgesvr/config/SecurityConfigTests.java +++ b/src/test/java/com/insilicosoft/portal/edgesvr/config/SecurityConfigTests.java @@ -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