aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-auth-github/src
diff options
context:
space:
mode:
authorWouter Admiraal <wouter.admiraal@sonarsource.com>2022-02-24 16:11:20 +0100
committersonartech <sonartech@sonarsource.com>2022-02-25 20:02:53 +0000
commit28c665b012106317d2c6f4805dd9cbaf8b4f7f55 (patch)
tree93b20fab99da07b4ec171634c8821638c3418f62 /server/sonar-auth-github/src
parent28b0bef13a25e2f106ce955f429ecce5ea13fd30 (diff)
downloadsonarqube-28c665b012106317d2c6f4805dd9cbaf8b4f7f55.tar.gz
sonarqube-28c665b012106317d2c6f4805dd9cbaf8b4f7f55.zip
SONAR-12807 Put all ALM icons in a single location
Diffstat (limited to 'server/sonar-auth-github/src')
-rw-r--r--server/sonar-auth-github/src/main/java/org/sonar/auth/github/GitHubIdentityProvider.java2
-rw-r--r--server/sonar-auth-github/src/test/java/org/sonar/auth/github/GitHubIdentityProviderTest.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-auth-github/src/main/java/org/sonar/auth/github/GitHubIdentityProvider.java b/server/sonar-auth-github/src/main/java/org/sonar/auth/github/GitHubIdentityProvider.java
index 8fa9a76a0c4..6b37a54d165 100644
--- a/server/sonar-auth-github/src/main/java/org/sonar/auth/github/GitHubIdentityProvider.java
+++ b/server/sonar-auth-github/src/main/java/org/sonar/auth/github/GitHubIdentityProvider.java
@@ -62,7 +62,7 @@ public class GitHubIdentityProvider implements OAuth2IdentityProvider {
@Override
public Display getDisplay() {
return Display.builder()
- .setIconPath("/images/github.svg")
+ .setIconPath("/images/alm/github-white.svg")
.setBackgroundColor("#444444")
.build();
}
diff --git a/server/sonar-auth-github/src/test/java/org/sonar/auth/github/GitHubIdentityProviderTest.java b/server/sonar-auth-github/src/test/java/org/sonar/auth/github/GitHubIdentityProviderTest.java
index 8fdcfd74364..d99334db250 100644
--- a/server/sonar-auth-github/src/test/java/org/sonar/auth/github/GitHubIdentityProviderTest.java
+++ b/server/sonar-auth-github/src/test/java/org/sonar/auth/github/GitHubIdentityProviderTest.java
@@ -43,7 +43,7 @@ public class GitHubIdentityProviderTest {
public void check_fields() {
assertThat(underTest.getKey()).isEqualTo("github");
assertThat(underTest.getName()).isEqualTo("GitHub");
- assertThat(underTest.getDisplay().getIconPath()).isEqualTo("/images/github.svg");
+ assertThat(underTest.getDisplay().getIconPath()).isEqualTo("/images/alm/github-white.svg");
assertThat(underTest.getDisplay().getBackgroundColor()).isEqualTo("#444444");
}