From df72312120ca0e0d3ace31c92831f216302d8f5e Mon Sep 17 00:00:00 2001 From: Okke Harsta Date: Fri, 16 Aug 2024 16:25:41 +0200 Subject: [PATCH] Test documentation --- .../java/oidc/endpoints/DeviceAuthorizationEndpointTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/oidc/endpoints/DeviceAuthorizationEndpointTest.java b/src/test/java/oidc/endpoints/DeviceAuthorizationEndpointTest.java index 3dce3377..c2fc638e 100644 --- a/src/test/java/oidc/endpoints/DeviceAuthorizationEndpointTest.java +++ b/src/test/java/oidc/endpoints/DeviceAuthorizationEndpointTest.java @@ -254,8 +254,8 @@ public void deviceTokenRequest() { assertEquals(400, slowDownTokenResult.get("status")); assertEquals("slow_down", slowDownTokenResult.get("error")); + //Mock - see FakeSamlAuthenticationFilter#authorizeEndpoints - the successful user authentication String authorizeLocation = String.format("oidc/device_authorize?state=%s&client_id=mock-sp&user_code=%s", userCode, userCode); - given() .when() .get(authorizeLocation)