diff options
author | Indrijeet kumar <indriku1@in.ibm.com> | 2020-06-14 22:55:02 +0530 |
---|---|---|
committer | Indrijeet kumar <indriku1@in.ibm.com> | 2020-06-14 22:55:17 +0530 |
commit | 3f63deb7bed0e861bafdde5d1f9aceca8ed6bca9 (patch) | |
tree | 327d964b9854a4a8bdc13503fc0e127d344cffea | |
parent | 88a56a8071697d2a7dfa7db7e32c8a496218fb70 (diff) |
Modification in two components
Modification in two components
Issue-ID: PORTAL-813
Change-Id: Iea0866a839a3bc146f4438ae1e6bdd77b83349c3
Signed-off-by: Indrijeet Kumar <indriku1@in.ibm.com>
2 files changed, 2 insertions, 10 deletions
diff --git a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/admin/menus/menus.component.spec.ts b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/admin/menus/menus.component.spec.ts index eb8b63dd..a32b2e3e 100644 --- a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/admin/menus/menus.component.spec.ts +++ b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/admin/menus/menus.component.spec.ts @@ -56,11 +56,6 @@ describe('MenusComponent', () => { expect(component).toBeTruthy(); }); - // it('should test getFnMenuItems method inside getMenus',()=>{ - // let spy=spyOn(adminService,'getFnMenuItems').and.returnValue(Observable.of(stubData)) - // component.getMenus(); - // expect(spy).toHaveBeenCalled(); - // }) describe('test getMenus',()=>{ it('should test getMenus',()=>{ let spy=spyOn(adminService,'getParentData').and.returnValue(Observable.of('you object')) diff --git a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/admin/menus/menus.component.ts b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/admin/menus/menus.component.ts index 5d996964..84d5b8ac 100644 --- a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/admin/menus/menus.component.ts +++ b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/admin/menus/menus.component.ts @@ -41,11 +41,8 @@ import { MatTableDataSource } from '@angular/material/table'; import { MatPaginator } from '@angular/material/paginator'; import { MatSort } from '@angular/material/sort'; import { AdminService } from '../admin.service'; -import { NgbModal, ModalDismissReasons, NgbActiveModal } from '@ng-bootstrap/ng-bootstrap'; -import { InformationModalComponent } from 'src/app/modals/information-modal/information-modal.component'; -import { NewMenuComponent } from './new-menu/new-menu.component'; -import { Column, DataTableSettings, RdpCrudInterface , ColumnTypes} from 'portalsdk-tag-lib'; -import { element } from '@angular/core/src/render3'; +import { NgbModal} from '@ng-bootstrap/ng-bootstrap'; +import { Column, DataTableSettings, ColumnTypes} from 'portalsdk-tag-lib'; import { MenusService } from './menus.service'; @Component({ |