@@ -42,6 +42,7 @@ export async function buildUser(overrides: Object = {}) {
|
||||
password: 'test123!',
|
||||
service: 'slack',
|
||||
serviceId: uuid.v4(),
|
||||
createdAt: new Date('2018-01-01T00:00:00.000Z'),
|
||||
...overrides,
|
||||
});
|
||||
}
|
||||
|
||||
@@ -36,6 +36,7 @@ const seed = async () => {
|
||||
id: 'U2399UF2P',
|
||||
image_192: 'http://example.com/avatar.png',
|
||||
},
|
||||
createdAt: new Date('2018-01-01T00:00:00.000Z'),
|
||||
});
|
||||
|
||||
const admin = await User.create({
|
||||
@@ -52,6 +53,7 @@ const seed = async () => {
|
||||
id: 'U2399UF1P',
|
||||
image_192: 'http://example.com/avatar.png',
|
||||
},
|
||||
createdAt: new Date('2018-01-01T00:00:00.000Z'),
|
||||
});
|
||||
|
||||
const collection = await Collection.create({
|
||||
|
||||
Reference in New Issue
Block a user