mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-25 19:48:50 +03:00
Fixed offer tests
no refs
This commit is contained in:
parent
452ee8c3aa
commit
96ec828d04
@ -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(); }
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user