X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=E2Manager%2Fmocks%2Fnodeb_controller_mock.go;h=11130b30265ea45663a6b3389c2187f3171bb681;hb=76709204dfd7968156b5fa81190f146a8991812d;hp=eafc9356423b4b8ed609b70d1714486795b20f6b;hpb=efcb4528362460aa2249d319c9752b63bb720fe2;p=ric-plt%2Fe2mgr.git diff --git a/E2Manager/mocks/nodeb_controller_mock.go b/E2Manager/mocks/nodeb_controller_mock.go index eafc935..11130b3 100644 --- a/E2Manager/mocks/nodeb_controller_mock.go +++ b/E2Manager/mocks/nodeb_controller_mock.go @@ -15,6 +15,9 @@ // limitations under the License. // +// This source code is part of the near-RT RIC (RAN Intelligent Controller) +// platform project (RICP). + package mocks import ( @@ -71,3 +74,17 @@ func (c *NodebControllerMock) EndcSetup(writer http.ResponseWriter, r *http.Requ c.Called() } + +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) SetGeneralConfiguration(writer http.ResponseWriter, r *http.Request) { + writer.Header().Set("Content-Type", "application/json") + writer.WriteHeader(http.StatusOK) + + c.Called() +} \ No newline at end of file