1
0
mirror of https://github.com/sismics/docs.git synced 2025-12-18 04:01:42 +00:00

refresh ui css + init inbox scanning settings

This commit is contained in:
Benjamin Gamard
2018-02-27 19:02:23 +01:00
parent 062dee987f
commit 797a987e2b
15 changed files with 416 additions and 86 deletions

View File

@@ -32,13 +32,13 @@ public class TestThemeResource extends BaseJerseyTest {
// Get the stylesheet anonymously
String stylesheet = target().path("/theme/stylesheet").request()
.get(String.class);
Assert.assertTrue(stylesheet.contains("background-color: #24292e;"));
Assert.assertTrue(stylesheet.contains("background-color: #ffffff;"));
// Get the theme configuration anonymously
JsonObject json = target().path("/theme").request()
.get(JsonObject.class);
Assert.assertEquals("Sismics Docs", json.getString("name"));
Assert.assertEquals("#24292e", json.getString("color"));
Assert.assertEquals("#ffffff", json.getString("color"));
Assert.assertEquals("", json.getString("css"));
// Update the main color as admin