From 5b3b47b21f8b5fb2c3d25094b6159061f68adf28 Mon Sep 17 00:00:00 2001 From: Romain Bioteau Date: Tue, 3 Dec 2024 17:33:11 +0100 Subject: [PATCH] fix(tests): add missing unit test --- .../server/page/ApplicationAuthorizationsHelperTest.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/bpm/bonita-web-server/src/test/java/org/bonitasoft/console/common/server/page/ApplicationAuthorizationsHelperTest.java b/bpm/bonita-web-server/src/test/java/org/bonitasoft/console/common/server/page/ApplicationAuthorizationsHelperTest.java index 12b946f525..c7cf530c98 100644 --- a/bpm/bonita-web-server/src/test/java/org/bonitasoft/console/common/server/page/ApplicationAuthorizationsHelperTest.java +++ b/bpm/bonita-web-server/src/test/java/org/bonitasoft/console/common/server/page/ApplicationAuthorizationsHelperTest.java @@ -16,9 +16,7 @@ import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.ArgumentMatchers.any; import static org.mockito.BDDMockito.given; -import static org.mockito.Mockito.never; -import static org.mockito.Mockito.verify; -import static org.mockito.Mockito.when; +import static org.mockito.Mockito.*; import org.bonitasoft.engine.api.ApplicationAPI; import org.bonitasoft.engine.business.application.Application; @@ -31,7 +29,7 @@ import org.mockito.junit.MockitoJUnitRunner; @RunWith(MockitoJUnitRunner.class) -public class CustomPageAuthorizationsHelperTest { +public class ApplicationAuthorizationsHelperTest { @Mock ApplicationAPI applicationAPI;