aboutus.component.spec - fixed test case 47/62047/1
authorArundathi Patil <arundpil@in.ibm.com>
Thu, 23 Aug 2018 10:10:14 +0000 (15:40 +0530)
committerIBM602-PC0F1E3C\Arundathi <arundpil@in.ibm.com>
Thu, 23 Aug 2018 10:10:26 +0000 (15:40 +0530)
Test case in aboutus.component spec file failed iwth below error. Fixed
this.

"Failed: Expected Response with status: null null for url:null to be
'some data'"

Issue-ID: APPC-1064
Change-Id: If1b0dbbc68c69cbb62799b31ccb93b7ab06ee9ac
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
src/app/about-us/aboutus.component.spec.ts

index f9bc0cd..7240280 100644 (file)
@@ -83,7 +83,7 @@ describe('ContacUsComponent', () => {
         let content = 'test';
         // component.open(content);
         component.versionLogFile().subscribe((data) => {
-            expect(data).toBe('some Data');
+            expect(data.text()).toBe('some data');
         });
     }));