Skip to content

Commit 2e28a51

Browse files
committed
[DURACOM-288] fix tests
1 parent 7660dd8 commit 2e28a51

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

src/app/thumbnail/thumbnail.component.spec.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -357,11 +357,8 @@ describe('ThumbnailComponent', () => {
357357
TestBed.configureTestingModule({
358358
imports: [
359359
TranslateModule.forRoot(),
360-
ThumbnailComponent,
361-
SafeUrlPipe,
362-
MockTranslatePipe,
363-
VarDirective,
364360
],
361+
declarations: [ThumbnailComponent, SafeUrlPipe, MockTranslatePipe, VarDirective],
365362
providers: [
366363
{ provide: AuthService, useValue: authService },
367364
{ provide: AuthorizationDataService, useValue: authorizationService },
@@ -386,7 +383,7 @@ describe('ThumbnailComponent', () => {
386383

387384
it('should start out with isLoading$ true', () => {
388385
expect(comp.isLoading).toBeTrue();
389-
expect(de.query(By.css('ds-loading'))).toBeTruthy();
386+
expect(de.query(By.css('ds-themed-loading'))).toBeTruthy();
390387
});
391388

392389
it('should not call setSrc', () => {

0 commit comments

Comments
 (0)