diff --git a/management/server/http/setupkeys_handler_integration_test.go b/management/server/http/setupkeys_handler_integration_test.go index d946a7a97..0759c16e8 100644 --- a/management/server/http/setupkeys_handler_integration_test.go +++ b/management/server/http/setupkeys_handler_integration_test.go @@ -754,8 +754,8 @@ func Test_SetupKeys_Get(t *testing.T) { apiHandler.ServeHTTP(recorder, req) - content, noResponseExpected := readResponse(t, recorder, tc.expectedStatus, user.expectResponse) - if noResponseExpected { + content, expectRespnose := readResponse(t, recorder, tc.expectedStatus, user.expectResponse) + if !expectRespnose { return } got := &api.SetupKey{}