Fix build failure for patch 39785
[aaf/sms.git] / sms-service / src / sms / handler / handler_test.go
index 5e9e965..25dc19f 100644 (file)
@@ -199,7 +199,7 @@ func TestDeleteSecretHandler(t *testing.T) {
        hr := http.HandlerFunc(h.deleteSecretHandler)
 
        hr.ServeHTTP(rr, req)
-       if rr.Code != http.StatusOK {
+       if rr.Code != http.StatusNoContent {
                t.Errorf("Expected statusCreated return code. Got: %v", rr.Code)
        }
 }