summaryrefslogtreecommitdiffstats
path: root/sms-service
diff options
context:
space:
mode:
Diffstat (limited to 'sms-service')
-rw-r--r--sms-service/src/sms/handler/handler_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/sms-service/src/sms/handler/handler_test.go b/sms-service/src/sms/handler/handler_test.go
index 5e9e965..25dc19f 100644
--- a/sms-service/src/sms/handler/handler_test.go
+++ b/sms-service/src/sms/handler/handler_test.go
@@ -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)
}
}