2021-10-29 13:23:41 -07:00
|
|
|
import { Factory } from 'ember-cli-mirage';
|
|
|
|
|
import { random, date, datatype } from 'faker';
|
|
|
|
|
|
|
|
|
|
/**
|
2021-11-04 16:26:09 -07:00
|
|
|
* GeneratedManagedGroupFactory
|
2021-10-29 13:23:41 -07:00
|
|
|
* A managed group is a resource that represents a collection of accounts.
|
|
|
|
|
*/
|
|
|
|
|
export default Factory.extend({
|
|
|
|
|
name: () => random.words(),
|
|
|
|
|
description: () => random.words(),
|
|
|
|
|
created_time: () => date.recent(),
|
|
|
|
|
updated_time: () => date.recent(),
|
|
|
|
|
version: () => datatype.number(),
|
|
|
|
|
});
|