Jian Li
Committed by Gerrit Code Review

Fix some typos in meter and group REST API

Change-Id: Id32535e154557cba8a4030d9e504c8bd15aa6e9a
......@@ -5,7 +5,7 @@
"meters"
],
"properties": {
"groups": {
"meters": {
"type": "array",
"xml": {
"name": "meters",
......
......@@ -444,10 +444,10 @@ public class GroupsResourceTest extends ResourceTest {
assertThat(result.names(), hasSize(1));
assertThat(result.names().get(0), is("groups"));
final JsonArray jsonFlows = result.get("groups").asArray();
assertThat(jsonFlows, notNullValue());
assertThat(jsonFlows, hasGroup(group5));
assertThat(jsonFlows, hasGroup(group6));
final JsonArray jsonGroups = result.get("groups").asArray();
assertThat(jsonGroups, notNullValue());
assertThat(jsonGroups, hasGroup(group5));
assertThat(jsonGroups, hasGroup(group6));
}
/**
......
......@@ -447,9 +447,9 @@ public class MetersResourceTest extends ResourceTest {
assertThat(result.names(), hasSize(1));
assertThat(result.names().get(0), is("meters"));
final JsonArray jsonFlows = result.get("meters").asArray();
assertThat(jsonFlows, notNullValue());
assertThat(jsonFlows, hasMeter(meter5));
final JsonArray jsonMeters = result.get("meters").asArray();
assertThat(jsonMeters, notNullValue());
assertThat(jsonMeters, hasMeter(meter5));
}
/**
......