diff --git a/src/app/profile/data/profile-data.component.spec.ts b/src/app/profile/data/profile-data.component.spec.ts index bebaf77..9abb416 100644 --- a/src/app/profile/data/profile-data.component.spec.ts +++ b/src/app/profile/data/profile-data.component.spec.ts @@ -52,11 +52,10 @@ describe('Profile data component', () => { profileMock.additional_data = { 'Address': 'Street A, Number 102' }; + buildComponent().then((fixture: ComponentFixture) => { let profileData: ProfileDataComponent = fixture.debugElement.componentViewChildren[0].componentInstance; profileData.profile = profileMock; - - expect(profileData.hasCustomFields()).toBeTruthy(); expect(fixture.debugElement.query('div.profile-custom-fields').length).toEqual(1); }); }); diff --git a/src/app/profile/data/profile-data.html b/src/app/profile/data/profile-data.html index d648d85..adbfd06 100644 --- a/src/app/profile/data/profile-data.html +++ b/src/app/profile/data/profile-data.html @@ -22,7 +22,7 @@ -