From 8e9480545e4a9118b5233c84e435dbfe6e7aae27 Mon Sep 17 00:00:00 2001 From: arianna Date: Fri, 16 Jan 2026 11:18:38 +0100 Subject: [PATCH] Fix issue reports Closes gh-18376 Signed-off-by: arianna --- .../servlet/authorization/authorize-http-requests.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/modules/ROOT/pages/servlet/authorization/authorize-http-requests.adoc b/docs/modules/ROOT/pages/servlet/authorization/authorize-http-requests.adoc index 04842753bb..be018724b6 100644 --- a/docs/modules/ROOT/pages/servlet/authorization/authorize-http-requests.adoc +++ b/docs/modules/ROOT/pages/servlet/authorization/authorize-http-requests.adoc @@ -376,14 +376,14 @@ Java:: @WithMockUser(authorities="USER") @Test void endpointWhenUserAuthorityThenAuthorized() { - this.mvc.perform(get("/endpoint/jon")) + this.mvc.perform(get("/resource/jon")) .andExpect(status().isOk()); } @WithMockUser @Test void endpointWhenNotUserAuthorityThenForbidden() { - this.mvc.perform(get("/endpoint/jon")) + this.mvc.perform(get("/resource/jon")) .andExpect(status().isForbidden()); } @@ -530,7 +530,7 @@ void postWhenWriteAuthorityThenAuthorized() { @WithMockUser(authorities="read") @Test void postWhenNoWriteAuthorityThenForbidden() { - this.mvc.perform(get("/any").with(csrf())) + this.mvc.perform(post("/any").with(csrf())) .andExpect(status().isForbidden()); } ----