Fixed offer tests

no refs
This commit is contained in:
Rishabh 2021-10-19 13:21:11 +05:30
parent 452ee8c3aa
commit 96ec828d04

View File

@ -8,5 +8,8 @@ let randomDate = function randomDate(start = moment().subtract(30, 'days').toDat
export default Factory.extend({
name() { return `${faker.name.firstName()} ${faker.name.lastName()}`; },
amount() { return faker.datatype.number({min: 1, max: 10}); },
displayTitle() { return faker.lorem.word(); },
code() { return faker.lorem.slug(); },
createdAt() { return randomDate(); }
});