@@ -152,7 +152,7 @@ describe('ThumbnailComponent', () => {
152152 } ) ) ;
153153
154154 it ( 'should show default thumbnail' , ( ) => {
155- expect ( component . default ) . toBe ( 'assets/images/person -placeholder.svg' ) ;
155+ expect ( component . default ) . toBe ( 'assets/images/file -placeholder.svg' ) ;
156156 } ) ;
157157
158158 } ) ;
@@ -172,7 +172,7 @@ describe('ThumbnailComponent', () => {
172172 } ) ) ;
173173
174174 it ( 'should show default thumbnail' , ( ) => {
175- expect ( component . default ) . toBe ( 'assets/images/person -placeholder.svg' ) ;
175+ expect ( component . default ) . toBe ( 'assets/images/file -placeholder.svg' ) ;
176176 } ) ;
177177
178178 } ) ;
@@ -239,7 +239,7 @@ describe('ThumbnailComponent', () => {
239239 } ) ;
240240
241241 it ( 'should show default thumbnail' , ( ) => {
242- expect ( component . default ) . toBe ( 'assets/images/person -placeholder.svg' ) ;
242+ expect ( component . default ) . toBe ( 'assets/images/file -placeholder.svg' ) ;
243243 } ) ;
244244
245245 } ) ;
@@ -254,7 +254,7 @@ describe('ThumbnailComponent', () => {
254254 } ) ;
255255
256256 it ( 'should not show bitstream content image src but the default image' , ( ) => {
257- expect ( component . default ) . toBe ( 'assets/images/person -placeholder.svg' ) ;
257+ expect ( component . default ) . toBe ( 'assets/images/file -placeholder.svg' ) ;
258258 } ) ;
259259
260260 } ) ;
@@ -269,7 +269,7 @@ describe('ThumbnailComponent', () => {
269269 } ) ;
270270
271271 it ( 'should not show thumbnail content image src but the default image' , ( ) => {
272- expect ( component . default ) . toBe ( 'assets/images/person -placeholder.svg' ) ;
272+ expect ( component . default ) . toBe ( 'assets/images/file -placeholder.svg' ) ;
273273 } ) ;
274274
275275 } ) ;
@@ -284,7 +284,7 @@ describe('ThumbnailComponent', () => {
284284 } ) ;
285285
286286 it ( 'should not show thumbnail content image src but the default image' , ( ) => {
287- expect ( component . default ) . toBe ( 'assets/images/person -placeholder.svg' ) ;
287+ expect ( component . default ) . toBe ( 'assets/images/file -placeholder.svg' ) ;
288288 } ) ;
289289
290290 } ) ;
@@ -299,7 +299,7 @@ describe('ThumbnailComponent', () => {
299299 } ) ;
300300
301301 it ( 'should show thumbnail content image src' , ( ) => {
302- /* expect(component.default).toBe('assets/images/person -placeholder.svg');
302+ /* expect(component.default).toBe('assets/images/file -placeholder.svg');
303303 const image = fixture.debugElement.query(By.css('img[src="http://localhost:8080/server/api/core/bitstreams/thumbnail-6df9-40ef-9009-b3c90a4e6d5b/content"]'));
304304 expect(image).toBeTruthy();*/
305305 expect ( component . thumbnail$ . value ) . toEqual ( mockThumbnailWithType ) ;
0 commit comments