aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-auth-github
diff options
context:
space:
mode:
authorLéo Geoffroy <leo.geoffroy@sonarsource.com>2023-07-06 11:56:59 +0200
committersonartech <sonartech@sonarsource.com>2023-07-07 20:03:21 +0000
commit0b0712fc0aeb5abf2bff1689833874b68e44297d (patch)
treec705b8139e1e6f26b0beb81a01bbacd5093206c7 /server/sonar-auth-github
parent71bd033da7c32709d7547d5d0b8c9088b7ad94e4 (diff)
downloadsonarqube-0b0712fc0aeb5abf2bff1689833874b68e44297d.tar.gz
sonarqube-0b0712fc0aeb5abf2bff1689833874b68e44297d.zip
SONAR-19850 Switch all tests with different uuids by default
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 c2ddf5cf2cd..5edd93d982c 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, true);
+ public DbTester db = DbTester.create(System2.INSTANCE);
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 ef39a34c06d..f7ba8e35dd7 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, true);
+ public DbTester db = DbTester.create(System2.INSTANCE);
// load settings with default values
private MapSettings settings = new MapSettings(new PropertyDefinitions(System2.INSTANCE, GitHubSettings.definitions()));