aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-auth-github
diff options
context:
space:
mode:
authorJacek <jacek.poreda@sonarsource.com>2020-12-04 11:34:36 +0100
committersonartech <sonartech@sonarsource.com>2020-12-09 20:07:21 +0000
commit720c19e83f2299a848c18c6921a3c22281b87eb6 (patch)
treefdbdc8b99a62296fbb7eec5812ed336e70ea9e3d /server/sonar-auth-github
parent5380a8080eb0d52981739fc3fe5459c66b204f11 (diff)
downloadsonarqube-720c19e83f2299a848c18c6921a3c22281b87eb6.tar.gz
sonarqube-720c19e83f2299a848c18c6921a3c22281b87eb6.zip
Code smells test fixes
Diffstat (limited to 'server/sonar-auth-github')
-rw-r--r--server/sonar-auth-github/src/test/java/org/sonar/auth/github/GitHubSettingsTest.java2
1 files changed, 1 insertions, 1 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 f15933e922a..729ff7dae90 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
@@ -139,7 +139,7 @@ public class GitHubSettingsTest {
String[] setting = null;
settings.setProperty("sonar.auth.github.organizations", setting);
String[] actual = underTest.organizations();
- assertThat(actual).hasSize(0);
+ assertThat(actual).isEmpty();
}
@Test