X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=E2Manager%2Fcontrollers%2Fcontroller_test.go;h=69dbfdae81b96977b3f826691707958afc7d378c;hb=006fbce1d1ea814cb37f5bfcff6f53e27f018a9e;hp=448ac9dde5ec7f3d60e0de9e3aa73e9db89f84f5;hpb=947897d1f1df89967f4db1862d67a5649e10f3a2;p=ric-plt%2Fe2mgr.git diff --git a/E2Manager/controllers/controller_test.go b/E2Manager/controllers/controller_test.go index 448ac9d..69dbfda 100644 --- a/E2Manager/controllers/controller_test.go +++ b/E2Manager/controllers/controller_test.go @@ -58,7 +58,7 @@ func TestShutdownHandlerRnibError(t *testing.T) { return writerMock } - rnibErr := &common.RNibError{} + rnibErr := &common.ResourceNotFoundError{} var nbIdentityList []*entities.NbIdentity readerMock.On("GetListNodebIds").Return(nbIdentityList, rnibErr) @@ -116,7 +116,7 @@ func TestShutdownStatusNoContent(t *testing.T) { } config := configuration.ParseConfiguration() - var rnibError common.IRNibError + var rnibError error nbIdentityList := []*entities.NbIdentity{} readerMock.On("GetListNodebIds").Return(nbIdentityList, rnibError)