diff options
author | Julien Lancelot <julien.lancelot@sonarsource.com> | 2016-02-04 14:46:05 +0100 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@sonarsource.com> | 2016-02-04 14:46:05 +0100 |
commit | ab7a5eb9af0b04c8257883b0acf43e376aea66cb (patch) | |
tree | a7730181832235a7d7feb8fbc47cca5b5ad06299 /sonar-plugin-api | |
parent | 126505285b0da87deb27a74492ac072f5b01def4 (diff) | |
download | sonarqube-ab7a5eb9af0b04c8257883b0acf43e376aea66cb.tar.gz sonarqube-ab7a5eb9af0b04c8257883b0acf43e376aea66cb.zip |
SONAR-7242 Update default background color
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/server/authentication/Display.java | 4 | ||||
-rw-r--r-- | sonar-plugin-api/src/test/java/org/sonar/api/server/authentication/DisplayTest.java | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/server/authentication/Display.java b/sonar-plugin-api/src/main/java/org/sonar/api/server/authentication/Display.java index 74ffc57ad6a..6931e723169 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/server/authentication/Display.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/server/authentication/Display.java @@ -58,7 +58,7 @@ public final class Display { * Background color for the provider button displayed in the login form. * It's a Hexadecimal value, for instance #205081. * <p/> - * If not provided, the default value is black (#000000) + * If not provided, the default value is #236a97 */ public String getBackgroundColor() { return backgroundColor; @@ -71,7 +71,7 @@ public final class Display { public static class Builder { private String iconPath; - private String backgroundColor = "#000000"; + private String backgroundColor = "#236a97"; private Builder() { } diff --git a/sonar-plugin-api/src/test/java/org/sonar/api/server/authentication/DisplayTest.java b/sonar-plugin-api/src/test/java/org/sonar/api/server/authentication/DisplayTest.java index 2b756383238..b11b8946bb8 100644 --- a/sonar-plugin-api/src/test/java/org/sonar/api/server/authentication/DisplayTest.java +++ b/sonar-plugin-api/src/test/java/org/sonar/api/server/authentication/DisplayTest.java @@ -42,12 +42,12 @@ public class DisplayTest { } @Test - public void create_display_woth_default_background_color() throws Exception { + public void create_display_with_default_background_color() throws Exception { Display display = Display.builder() .setIconPath("/static/authgithub/github.svg") .build(); - assertThat(display.getBackgroundColor()).isEqualTo("#000000"); + assertThat(display.getBackgroundColor()).isEqualTo("#236a97"); } @Test |