From 37e0ed33d0d419ec8f366490f64a427e24827886 Mon Sep 17 00:00:00 2001 From: Matteo Mara Date: Thu, 20 Jun 2024 17:59:57 +0200 Subject: [PATCH] NO-JIRA Remove public modifier from Junit5 Test classes --- .../src/test/java/org/sonar/db/dialect/OracleTest.java | 2 +- .../src/test/java/org/sonar/db/dialect/PostgreSqlTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/sonar-db-core/src/test/java/org/sonar/db/dialect/OracleTest.java b/server/sonar-db-core/src/test/java/org/sonar/db/dialect/OracleTest.java index 31b138ba298..f03d6789778 100644 --- a/server/sonar-db-core/src/test/java/org/sonar/db/dialect/OracleTest.java +++ b/server/sonar-db-core/src/test/java/org/sonar/db/dialect/OracleTest.java @@ -30,7 +30,7 @@ import static org.junit.Assert.fail; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; -public class OracleTest { +class OracleTest { private final Oracle underTest = new Oracle(); diff --git a/server/sonar-db-core/src/test/java/org/sonar/db/dialect/PostgreSqlTest.java b/server/sonar-db-core/src/test/java/org/sonar/db/dialect/PostgreSqlTest.java index 0e63f68ee2d..151510c55be 100644 --- a/server/sonar-db-core/src/test/java/org/sonar/db/dialect/PostgreSqlTest.java +++ b/server/sonar-db-core/src/test/java/org/sonar/db/dialect/PostgreSqlTest.java @@ -34,7 +34,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; -public class PostgreSqlTest { +class PostgreSqlTest { @RegisterExtension public final LogTesterJUnit5 logs = new LogTesterJUnit5(); -- 2.39.5