We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9afaa7f commit 3358103Copy full SHA for 3358103
api/api_test.go
@@ -821,11 +821,15 @@ func TestProcPublishUnpublishService(t *testing.T) {
821
if err != nil {
822
t.Fatal(err)
823
}
824
- si, errRsp := procPublishService(c, vars, b)
+ sv, errRsp := procPublishService(c, vars, b)
825
if errRsp != &createdResponse {
826
t.Fatalf("Unexpected failure: %v", errRsp)
827
828
- sid := i2s(si)
+ ep, ok := sv.(endpointInfo)
829
+ if !ok {
830
+ panic(fmt.Sprintf("Failed for %v", sv))
831
+ }
832
+ sid := ep.ID
833
834
vars[urlEpID] = ""
835
_, errRsp = procUnpublishService(c, vars, nil)
0 commit comments