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
[RIC-431] Add Enb | Configuration changes | Some refactoring | K8S yamls
[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
a164383
..
31499ef
100644
(file)
--- a/
E2Manager/mocks/nodeb_controller_mock.go
+++ b/
E2Manager/mocks/nodeb_controller_mock.go
@@
-61,21
+61,20
@@
func (c *NodebControllerMock) X2Reset(writer http.ResponseWriter, r *http.Reques
c.Called()
}
c.Called()
}
-func (c *NodebControllerMock)
X2Setup
(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()
}
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)
AddEnb
(writer http.ResponseWriter, r *http.Request) {
writer.Header().Set("Content-Type", "application/json")
writer.WriteHeader(http.StatusOK)
writer.Header().Set("Content-Type", "application/json")
writer.WriteHeader(http.StatusOK)
-
c.Called()
}
c.Called()
}
-func (c *NodebControllerMock)
UpdateGnb
(writer http.ResponseWriter, r *http.Request) {
+func (c *NodebControllerMock)
SetGeneralConfiguration
(writer http.ResponseWriter, r *http.Request) {
writer.Header().Set("Content-Type", "application/json")
writer.WriteHeader(http.StatusOK)
writer.Header().Set("Content-Type", "application/json")
writer.WriteHeader(http.StatusOK)