[RIC-584] - Validate setup from network and antenna type in ENB REST APIs
[ric-plt/e2mgr.git] / E2Manager / mocks / nodeb_controller_mock.go
index 2f1a15d..2467666 100644 (file)
@@ -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)