diff options
author | Wouter Admiraal <wouter.admiraal@sonarsource.com> | 2022-02-24 16:11:20 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2022-02-25 20:02:53 +0000 |
commit | 28c665b012106317d2c6f4805dd9cbaf8b4f7f55 (patch) | |
tree | 93b20fab99da07b4ec171634c8821638c3418f62 /server/sonar-auth-github/src | |
parent | 28b0bef13a25e2f106ce955f429ecce5ea13fd30 (diff) | |
download | sonarqube-28c665b012106317d2c6f4805dd9cbaf8b4f7f55.tar.gz sonarqube-28c665b012106317d2c6f4805dd9cbaf8b4f7f55.zip |
SONAR-12807 Put all ALM icons in a single location
Diffstat (limited to 'server/sonar-auth-github/src')
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"); } |