summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk
diff options
context:
space:
mode:
authorLorraine Welch <lb2391@att.com>2020-03-18 12:55:59 +0000
committerGerrit Code Review <gerrit@onap.org>2020-03-18 12:55:59 +0000
commit88267ff629c01ca1b5a0db60cef4f6448b5a2358 (patch)
treedcba0da330c8704c6a56cfa020b439b72eae8d91 /ecomp-sdk
parent9fb9cf5641096a27a407c3cfba202ad020bafb44 (diff)
parent3e04414b56ee8d044ab930bd3e36e997f681b17c (diff)
Merge "modification in edit-drill-down-link component"
Diffstat (limited to 'ecomp-sdk')
-rw-r--r--ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/columns/columns-edit-component/edit-drill-down-link/edit-drill-down-link.component.spec.ts26
1 files changed, 17 insertions, 9 deletions
diff --git a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/columns/columns-edit-component/edit-drill-down-link/edit-drill-down-link.component.spec.ts b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/columns/columns-edit-component/edit-drill-down-link/edit-drill-down-link.component.spec.ts
index 957be88b..b14778e3 100644
--- a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/columns/columns-edit-component/edit-drill-down-link/edit-drill-down-link.component.spec.ts
+++ b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/columns/columns-edit-component/edit-drill-down-link/edit-drill-down-link.component.spec.ts
@@ -1,26 +1,34 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
-
+import {FormsModule} from '@angular/forms';
import { EditDrillDownLinkComponent } from './edit-drill-down-link.component';
-import { FormsModule } from '@angular/forms';
import { HttpClientTestingModule } from '@angular/common/http/testing';
+import { ColumnService } from '../../column.service';
+import { Observable } from 'rxjs';
describe('EditDrillDownLinkComponent', () => {
let component: EditDrillDownLinkComponent;
let fixture: ComponentFixture<EditDrillDownLinkComponent>;
+ const drilldownobj1 = {"drillDownUrl":"dummyURL"}
beforeEach(async(() => {
TestBed.configureTestingModule({
- declarations: [ EditDrillDownLinkComponent ],
- imports:[
- FormsModule,
- HttpClientTestingModule
- ]
- })
+ declarations: [ EditDrillDownLinkComponent],
+ imports: [FormsModule, HttpClientTestingModule],
+ providers: [ColumnService]
+ })
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(EditDrillDownLinkComponent);
component = fixture.componentInstance;
+ component.drillDownObj = drilldownobj1;
fixture.detectChanges();
- }); \ No newline at end of file
+
+
+ });
+
+ it('should create', () => {
+ expect(component).toBeTruthy();
+ });
+});