Fix test after previous commit

- the deprecated field is now last instead of first
This commit is contained in:
Gary Russell
2019-09-21 11:34:47 -04:00
parent 7d949f7f8a
commit a550ebfaad

View File

@@ -162,7 +162,7 @@ public class IntegrationGraphServerTests {
jsonArray = JsonPathUtils.evaluate(baos.toByteArray(), "$..nodes[?(@.name == 'router')]");
String routerJson = jsonArray.toJSONString();
assertThat(routerJson).contains("\"stats\":{\"deprecated");
assertThat(routerJson).contains("\"deprecated\":\"stats are deprecated");
assertThat(routerJson).contains("\"sendTimers\":{\"successes\":{\"count\":4");
jsonArray = JsonPathUtils.evaluate(baos.toByteArray(), "$..nodes[?(@.name == 'toRouter')]");
String toRouterJson = jsonArray.toJSONString();