mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
adapt backend avatar faking due to deprecation warning
This commit is contained in:
parent
166094c465
commit
01c8c2a57b
@ -107,7 +107,7 @@ Factory.define('user')
|
||||
.option('email', faker.internet.exampleEmail)
|
||||
.option('avatar', () =>
|
||||
Factory.build('image', {
|
||||
url: faker.internet.avatar(),
|
||||
url: faker.image.avatar(),
|
||||
}),
|
||||
)
|
||||
.after(async (buildObject, options) => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user