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 "merge of Natalia - change rnib errors"
[ric-plt/e2mgr.git]
/
E2Manager
/
controllers
/
controller_test.go
diff --git
a/E2Manager/controllers/controller_test.go
b/E2Manager/controllers/controller_test.go
index
448ac9d
..
69dbfda
100644
(file)
--- a/
E2Manager/controllers/controller_test.go
+++ b/
E2Manager/controllers/controller_test.go
@@
-58,7
+58,7
@@
func TestShutdownHandlerRnibError(t *testing.T) {
return writerMock
}
return writerMock
}
- rnibErr := &common.R
Nib
Error{}
+ rnibErr := &common.R
esourceNotFound
Error{}
var nbIdentityList []*entities.NbIdentity
readerMock.On("GetListNodebIds").Return(nbIdentityList, rnibErr)
var nbIdentityList []*entities.NbIdentity
readerMock.On("GetListNodebIds").Return(nbIdentityList, rnibErr)
@@
-116,7
+116,7
@@
func TestShutdownStatusNoContent(t *testing.T) {
}
config := configuration.ParseConfiguration()
}
config := configuration.ParseConfiguration()
- var rnibError
common.IRNibE
rror
+ var rnibError
e
rror
nbIdentityList := []*entities.NbIdentity{}
readerMock.On("GetListNodebIds").Return(nbIdentityList, rnibError)
nbIdentityList := []*entities.NbIdentity{}
readerMock.On("GetListNodebIds").Return(nbIdentityList, rnibError)