* 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;
public static class Builder {
private String iconPath;
- private String backgroundColor = "#000000";
+ private String backgroundColor = "#236a97";
private Builder() {
}
}
@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