diff --git a/pkg/util/teams/teams_test.go b/pkg/util/teams/teams_test.go index f6b201d71..da9f497c1 100644 --- a/pkg/util/teams/teams_test.go +++ b/pkg/util/teams/teams_test.go @@ -162,9 +162,7 @@ func TestInfo(t *testing.T) { if r.Header.Get("Authorization") != "Bearer "+token { t.Errorf("authorization token is wrong or not provided") } - if tc.inTeam == "acid" { - w.WriteHeader(tc.inCode) - } + w.WriteHeader(tc.inCode) if _, err := fmt.Fprint(w, tc.in); err != nil { t.Errorf("error writing teams api response %v", err) }