fix(tests): faker deprecations

This commit is contained in:
lowlighter
2022-08-28 10:28:46 -04:00
parent c895cb042d
commit 3afec27821
5 changed files with 7 additions and 7 deletions

View File

@@ -520,7 +520,7 @@
return this.price - this.previous
},
symbol: options["stock.symbol"],
company: faker.company.companyName(),
company: faker.company.name(),
interval: options["stock.interval"],
duration: options["stock.duration"],
},
@@ -1007,7 +1007,7 @@
}
},
characters: new Array(11).fill(null).map(_ => ({
name: faker.name.findName(),
name: faker.name.fullName(),
artwork: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mOcOnfpfwAGfgLYttYINwAAAABJRU5ErkJggg==",
})),
sections: options["anilist.sections"].split(",").map(x => x.trim()).filter(x => x),