summaryrefslogtreecommitdiffstats
path: root/sms-service/src
diff options
context:
space:
mode:
authorKiran Kamineni <kiran.k.kamineni@intel.com>2018-03-28 21:26:56 -0700
committerKiran Kamineni <kiran.k.kamineni@intel.com>2018-03-28 21:27:00 -0700
commitde3b2f2916e8960f220f36fdb1ac5f04b0fc5499 (patch)
tree0090ac6f74b7ab3ba052a0b65f58dfb76e154a56 /sms-service/src
parent2835f7b259688c8008eba54b0f1256e2123872c9 (diff)
Fix build failure for patch 39785
Patch 39785 caused a unit test failure Fixing that here Issue-ID: AAF-202 Change-Id: I41dd2883f353e266a48033584c7b83a3670fcc62 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Diffstat (limited to 'sms-service/src')
-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)
}
}