Skip to content

Commit

Permalink
Fixing test cases
Browse files Browse the repository at this point in the history
Signed-off-by: Abhinandan Prativadi <[email protected]>
  • Loading branch information
abhi committed Oct 12, 2017
1 parent 39b8f8e commit e01e64e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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] = ""
Expand Down

0 comments on commit e01e64e

Please sign in to comment.