Remove GenericController and add tests

This commit is contained in:
Manuel de Brito Fontes 2017-11-04 22:18:28 -03:00
parent 1701bfc334
commit 86f39d9deb
39 changed files with 1131 additions and 1325 deletions

View file

@ -77,7 +77,7 @@ func TestIngressCorsConfig(t *testing.T) {
t.Errorf("expected a Config type")
}
if nginxCors.CorsEnabled != true {
if !nginxCors.CorsEnabled {
t.Errorf("expected cors enabled but returned %v", nginxCors.CorsEnabled)
}