adapt backend image faking due to deprecation warning

This commit is contained in:
mahula 2024-04-29 15:29:46 +02:00
parent 01c8c2a57b
commit 7b3ed63bc9

View File

@ -49,7 +49,7 @@ Factory.define('badge')
}) })
Factory.define('image') Factory.define('image')
.attr('url', faker.image.unsplash.imageUrl) .attr('url', faker.image.url)
.attr('aspectRatio', 1.3333333333333333) .attr('aspectRatio', 1.3333333333333333)
.attr('alt', faker.lorem.sentence) .attr('alt', faker.lorem.sentence)
.attr('type', 'image/jpeg') .attr('type', 'image/jpeg')