From 4dd534cd484ee6be9b73856c0684810c99e37d15 Mon Sep 17 00:00:00 2001 From: Okke Harsta Date: Tue, 28 May 2024 15:57:29 +0200 Subject: [PATCH] Use 403 on access denied --- .../test/java/access/lifecycle/UserLifeCycleControllerTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/test/java/access/lifecycle/UserLifeCycleControllerTest.java b/server/src/test/java/access/lifecycle/UserLifeCycleControllerTest.java index e7e7ac72..4fa51163 100644 --- a/server/src/test/java/access/lifecycle/UserLifeCycleControllerTest.java +++ b/server/src/test/java/access/lifecycle/UserLifeCycleControllerTest.java @@ -42,7 +42,7 @@ void lifeCycleRole() { .pathParam("sub", GUEST_SUB) .get("/api/deprovision/{sub}") .then() - .statusCode(400); + .statusCode(403); } @Test