Skip to content

Commit

Permalink
Merge pull request #20062 from geoand/missing-label-assertion
Browse files Browse the repository at this point in the history
Add missing labels assertions on Service
  • Loading branch information
iocanel authored Sep 10, 2021
2 parents c317c45 + ae5cd44 commit 22c0f23
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ public void assertGeneratedResources() throws IOException {
assertThat(i).isInstanceOfSatisfying(Service.class, s -> {
assertThat(s.getMetadata()).satisfies(m -> {
assertThat(m.getNamespace()).isEqualTo("applications");
assertThat(m.getLabels()).contains(entry("foo", "bar"));
});

assertThat(s.getSpec()).satisfies(spec -> {
Expand Down

0 comments on commit 22c0f23

Please sign in to comment.