fixed tests

This commit is contained in:
anhefti 2020-02-10 15:11:32 +01:00
parent b94e445257
commit fa3b327180

View file

@ -40,7 +40,7 @@ public class IndicatorTest {
final JSONMapper mapper = new JSONMapper();
final String jsonString = mapper.writeValueAsString(indicator);
assertEquals(
"{\"examId\":1,\"name\":\"Ping\",\"type\":\"LAST_PING\",\"color\":\"b4b4b4\",\"thresholds\":[{\"value\":2000.0,\"color\":\"22b14c\"},{\"value\":5000.0,\"color\":\"ff7e00\"}",
"{\"examId\":1,\"name\":\"Ping\",\"type\":\"LAST_PING\",\"color\":\"b4b4b4\",\"thresholds\":[{\"value\":2000.0,\"color\":\"22b14c\"},{\"value\":5000.0,\"color\":\"ff7e00\"},{\"value\":10000.0,\"color\":\"ed1c24\"}]}",
jsonString);
final String threholds =