diff --git a/src/test/java/org/tkit/onecx/permission/rs/ApplicationRestControllerTest.java b/src/test/java/org/tkit/onecx/permission/rs/ApplicationRestControllerTest.java index 85dc6bd..7ff6c39 100644 --- a/src/test/java/org/tkit/onecx/permission/rs/ApplicationRestControllerTest.java +++ b/src/test/java/org/tkit/onecx/permission/rs/ApplicationRestControllerTest.java @@ -28,7 +28,7 @@ @QuarkusTest @TestHTTPEndpoint(ApplicationRestController.class) -public class ApplicationRestControllerTest extends AbstractTest { +class ApplicationRestControllerTest extends AbstractTest { @InjectMockServerClient MockServerClient mockServerClient; diff --git a/src/test/java/org/tkit/onecx/permission/rs/WorkspaceRestControllerTest.java b/src/test/java/org/tkit/onecx/permission/rs/WorkspaceRestControllerTest.java index 46c0e34..8b90c61 100644 --- a/src/test/java/org/tkit/onecx/permission/rs/WorkspaceRestControllerTest.java +++ b/src/test/java/org/tkit/onecx/permission/rs/WorkspaceRestControllerTest.java @@ -90,7 +90,7 @@ void getAllProductsByWorkspaceNameTest() { }); Assertions.assertNotNull(output); - Assertions.assertEquals(Arrays.stream(output).toList().size(), 2); + Assertions.assertEquals(2, Arrays.stream(output).toList().size()); } }