mirror of
https://github.com/documize/community.git
synced 2025-08-05 05:25:27 +02:00
Add factories
This commit is contained in:
parent
7e4ed6545b
commit
663995b60d
5 changed files with 58 additions and 6 deletions
8
app/mirage/factories/folder-permission.js
Normal file
8
app/mirage/factories/folder-permission.js
Normal file
|
@ -0,0 +1,8 @@
|
|||
import { Factory, faker } from 'ember-cli-mirage';
|
||||
|
||||
export default Factory.extend({
|
||||
"folderId": faker.list.cycle("VzMuyEw_3WqiafcG", "VzMygEw_3WrtFzto"),
|
||||
"userId": faker.list.cycle("VzMuyEw_3WqiafcE", "VzMuyEw_3WqiafcE"),
|
||||
"canView": true,
|
||||
"canEdit": true
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue