aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-auth-github
diff options
context:
space:
mode:
authorLéo Geoffroy <leo.geoffroy@sonarsource.com>2023-06-30 11:42:57 +0200
committersonartech <sonartech@sonarsource.com>2023-07-03 20:03:13 +0000
commitebece82669c46e8657d10407ee1d5dc957af3a6c (patch)
tree1569745006df20ebcea3f565597ddd3610dd649d /server/sonar-auth-github
parentb819971ea23f4d63feed5147608a570f026d7906 (diff)
downloadsonarqube-ebece82669c46e8657d10407ee1d5dc957af3a6c.tar.gz
sonarqube-ebece82669c46e8657d10407ee1d5dc957af3a6c.zip
SONAR-19558 Update rest of tests for other modules
Diffstat (limited to 'server/sonar-auth-github')
-rw-r--r--server/sonar-auth-github/src/test/java/org/sonar/auth/github/GitHubSettingsTest.java2
-rw-r--r--server/sonar-auth-github/src/test/java/org/sonar/auth/github/IntegrationTest.java2
2 files changed, 2 insertions, 2 deletions
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()));