Committed by
Gerrit Code Review
Fix some typos in meter and group REST API
Change-Id: Id32535e154557cba8a4030d9e504c8bd15aa6e9a
Showing
3 changed files
with
8 additions
and
8 deletions
... | @@ -444,10 +444,10 @@ public class GroupsResourceTest extends ResourceTest { | ... | @@ -444,10 +444,10 @@ public class GroupsResourceTest extends ResourceTest { |
444 | 444 | ||
445 | assertThat(result.names(), hasSize(1)); | 445 | assertThat(result.names(), hasSize(1)); |
446 | assertThat(result.names().get(0), is("groups")); | 446 | assertThat(result.names().get(0), is("groups")); |
447 | - final JsonArray jsonFlows = result.get("groups").asArray(); | 447 | + final JsonArray jsonGroups = result.get("groups").asArray(); |
448 | - assertThat(jsonFlows, notNullValue()); | 448 | + assertThat(jsonGroups, notNullValue()); |
449 | - assertThat(jsonFlows, hasGroup(group5)); | 449 | + assertThat(jsonGroups, hasGroup(group5)); |
450 | - assertThat(jsonFlows, hasGroup(group6)); | 450 | + assertThat(jsonGroups, hasGroup(group6)); |
451 | } | 451 | } |
452 | 452 | ||
453 | /** | 453 | /** | ... | ... |
... | @@ -447,9 +447,9 @@ public class MetersResourceTest extends ResourceTest { | ... | @@ -447,9 +447,9 @@ public class MetersResourceTest extends ResourceTest { |
447 | 447 | ||
448 | assertThat(result.names(), hasSize(1)); | 448 | assertThat(result.names(), hasSize(1)); |
449 | assertThat(result.names().get(0), is("meters")); | 449 | assertThat(result.names().get(0), is("meters")); |
450 | - final JsonArray jsonFlows = result.get("meters").asArray(); | 450 | + final JsonArray jsonMeters = result.get("meters").asArray(); |
451 | - assertThat(jsonFlows, notNullValue()); | 451 | + assertThat(jsonMeters, notNullValue()); |
452 | - assertThat(jsonFlows, hasMeter(meter5)); | 452 | + assertThat(jsonMeters, hasMeter(meter5)); |
453 | } | 453 | } |
454 | 454 | ||
455 | /** | 455 | /** | ... | ... |
-
Please register or login to post a comment