From ebece82669c46e8657d10407ee1d5dc957af3a6c Mon Sep 17 00:00:00 2001 From: Léo Geoffroy Date: Fri, 30 Jun 2023 11:42:57 +0200 Subject: SONAR-19558 Update rest of tests for other modules --- .../src/test/java/org/sonar/auth/github/GitHubSettingsTest.java | 2 +- .../src/test/java/org/sonar/auth/github/IntegrationTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'server/sonar-auth-github/src') diff --git a/server/sonar-auth-github/src/test/java/org/sonar/auth/github/GitHubSettingsTest.java b/server/sonar-auth-github/src/test/java/org/sonar/auth/github/GitHubSettingsTest.java index 5edd93d982c..c2ddf5cf2cd 100644 --- a/server/sonar-auth-github/src/test/java/org/sonar/auth/github/GitHubSettingsTest.java +++ b/server/sonar-auth-github/src/test/java/org/sonar/auth/github/GitHubSettingsTest.java @@ -39,7 +39,7 @@ import static org.mockito.Mockito.when; public class GitHubSettingsTest { @Rule - public DbTester db = DbTester.create(System2.INSTANCE); + public DbTester db = DbTester.create(System2.INSTANCE, true); private MapSettings settings = new MapSettings(new PropertyDefinitions(System2.INSTANCE, GitHubSettings.definitions())); private InternalProperties internalProperties = mock(InternalProperties.class); diff --git a/server/sonar-auth-github/src/test/java/org/sonar/auth/github/IntegrationTest.java b/server/sonar-auth-github/src/test/java/org/sonar/auth/github/IntegrationTest.java index f7ba8e35dd7..ef39a34c06d 100644 --- a/server/sonar-auth-github/src/test/java/org/sonar/auth/github/IntegrationTest.java +++ b/server/sonar-auth-github/src/test/java/org/sonar/auth/github/IntegrationTest.java @@ -59,7 +59,7 @@ public class IntegrationTest { public MockWebServer github = new MockWebServer(); @Rule - public DbTester db = DbTester.create(System2.INSTANCE); + public DbTester db = DbTester.create(System2.INSTANCE, true); // load settings with default values private MapSettings settings = new MapSettings(new PropertyDefinitions(System2.INSTANCE, GitHubSettings.definitions())); -- cgit v1.2.3