fix issues introduced in #2804

This commit is contained in:
Elvin Efendi 2018-07-26 14:00:31 -04:00
parent ed19dc3bc6
commit a2692ce946
2 changed files with 10 additions and 5 deletions

View file

@ -148,8 +148,8 @@ func TestConfigureDynamically(t *testing.T) {
t.Errorf("unexpected target reference in JSON content: %v", body)
}
if strings.Contains(body, "service") {
t.Errorf("unexpected service reference in JSON content: %v", body)
if !strings.Contains(body, "service") {
t.Errorf("service reference should be present in JSON content: %v", body)
}
}))