Code Review
/
ric-plt
/
e2mgr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "RIC-398 - Fix all critical issues from static code analysis scan" into PI5
[ric-plt/e2mgr.git]
/
E2Manager
/
mocks
/
nodeb_controller_mock.go
diff --git
a/E2Manager/mocks/nodeb_controller_mock.go
b/E2Manager/mocks/nodeb_controller_mock.go
index
eafc935
..
a164383
100644
(file)
--- a/
E2Manager/mocks/nodeb_controller_mock.go
+++ b/
E2Manager/mocks/nodeb_controller_mock.go
@@
-15,6
+15,9
@@
// limitations under the License.
//
// limitations under the License.
//
+// This source code is part of the near-RT RIC (RAN Intelligent Controller)
+// platform project (RICP).
+
package mocks
import (
package mocks
import (
@@
-71,3
+74,10
@@
func (c *NodebControllerMock) EndcSetup(writer http.ResponseWriter, r *http.Requ
c.Called()
}
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()
+}