X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=E2Manager%2Fmocks%2Fnodeb_controller_mock.go;h=8308fc1d2045d7c54e17f5c21efe515040772107;hb=d0513f4d08e81b760bf3309932f84ae63d5a3904;hp=2f1a15df9b9874b6de37be902e764a09d40c625c;hpb=7e2e493acba882641329f867cccb73b3d2a2d2d8;p=ric-plt%2Fe2mgr.git diff --git a/E2Manager/mocks/nodeb_controller_mock.go b/E2Manager/mocks/nodeb_controller_mock.go index 2f1a15d..8308fc1 100644 --- a/E2Manager/mocks/nodeb_controller_mock.go +++ b/E2Manager/mocks/nodeb_controller_mock.go @@ -68,6 +68,13 @@ func (c *NodebControllerMock) UpdateGnb(writer http.ResponseWriter, r *http.Requ c.Called() } +func (c *NodebControllerMock) UpdateEnb(writer http.ResponseWriter, r *http.Request) { + writer.Header().Set("Content-Type", "application/json") + writer.WriteHeader(http.StatusOK) + + c.Called() +} + func (c *NodebControllerMock) AddEnb(writer http.ResponseWriter, r *http.Request) { writer.Header().Set("Content-Type", "application/json") writer.WriteHeader(http.StatusCreated) @@ -86,3 +93,10 @@ func (c *NodebControllerMock) SetGeneralConfiguration(writer http.ResponseWriter c.Called() } + +func (c *NodebControllerMock) HealthCheckRequest(writer http.ResponseWriter, r *http.Request) { + writer.Header().Set("Content-Type", "application/json") + writer.WriteHeader(http.StatusOK) + + c.Called() +}