X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=E2Manager%2Fmocks%2Fnodeb_controller_mock.go;h=31499ef72946be59794277dae9e70418e6c141c3;hb=14eb5132c3dca8cdad98e7e5420701b04f452046;hp=11130b30265ea45663a6b3389c2187f3171bb681;hpb=a0421fb2755cb4ceba794aac1d137944c1da7fa1;p=ric-plt%2Fe2mgr.git diff --git a/E2Manager/mocks/nodeb_controller_mock.go b/E2Manager/mocks/nodeb_controller_mock.go index 11130b3..31499ef 100644 --- a/E2Manager/mocks/nodeb_controller_mock.go +++ b/E2Manager/mocks/nodeb_controller_mock.go @@ -61,24 +61,16 @@ func (c *NodebControllerMock) X2Reset(writer http.ResponseWriter, r *http.Reques c.Called() } -func (c *NodebControllerMock) X2Setup(writer http.ResponseWriter, r *http.Request) { - writer.Header().Set("Content-Type", "application/json") - writer.WriteHeader(http.StatusOK) - - c.Called() -} - -func (c *NodebControllerMock) EndcSetup(writer http.ResponseWriter, r *http.Request) { +func (c *NodebControllerMock) UpdateGnb(writer http.ResponseWriter, r *http.Request) { writer.Header().Set("Content-Type", "application/json") writer.WriteHeader(http.StatusOK) c.Called() } -func (c *NodebControllerMock) UpdateGnb(writer http.ResponseWriter, r *http.Request) { +func (c *NodebControllerMock) AddEnb(writer http.ResponseWriter, r *http.Request) { writer.Header().Set("Content-Type", "application/json") writer.WriteHeader(http.StatusOK) - c.Called() } @@ -87,4 +79,4 @@ func (c *NodebControllerMock) SetGeneralConfiguration(writer http.ResponseWriter writer.WriteHeader(http.StatusOK) c.Called() -} \ No newline at end of file +}