From e01e64e7deaec4fd5b1420b44a64c386662d7f77 Mon Sep 17 00:00:00 2001 From: Abhinandan Prativadi Date: Thu, 12 Oct 2017 11:31:15 -0700 Subject: [PATCH] Fixing test cases Signed-off-by: Abhinandan Prativadi --- api/api_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/api_test.go b/api/api_test.go index bb86f4d9c3..90ccc59344 100644 --- a/api/api_test.go +++ b/api/api_test.go @@ -821,10 +821,11 @@ func TestProcPublishUnpublishService(t *testing.T) { if err != nil { t.Fatal(err) } - si, errRsp := procPublishService(c, vars, b) + sv, errRsp := procPublishService(c, vars, b) if errRsp != &createdResponse { t.Fatalf("Unexpected failure: %v", errRsp) } + si := sv.ID sid := i2s(si) vars[urlEpID] = ""