diff --git a/jans-auth-server/server/src/test/java/io/jans/as/server/authorize/ws/rs/AuthzRequestServiceTest.java b/jans-auth-server/server/src/test/java/io/jans/as/server/authorize/ws/rs/AuthzRequestServiceTest.java index bc2d5f3664d..c05f46dfd38 100644 --- a/jans-auth-server/server/src/test/java/io/jans/as/server/authorize/ws/rs/AuthzRequestServiceTest.java +++ b/jans-auth-server/server/src/test/java/io/jans/as/server/authorize/ws/rs/AuthzRequestServiceTest.java @@ -99,7 +99,7 @@ public void addDeviceSecretToSession_withDeviceSsoScope_shouldGenerateDeviceSecr assertTrue(sessionId.getDeviceSecrets().isEmpty()); authzRequestService.addDeviceSecretToSession(authzRequest, sessionId); - assertEquals(1, sessionId.getDeviceSecrets().size()); + assertEquals(sessionId.getDeviceSecrets().size(), 1); assertTrue(StringUtils.isNotBlank(sessionId.getDeviceSecrets().get(0))); }