Add random type values in mirage

This commit is contained in:
Carlos Alcaide Corvo committed 2022-01-26 08:02:54 -08:00
1 parent 26887b3cfe
commit 995c79804a
1 file changed
+1 -1
@@ -5,7 +5,7 @@ import { random, date, datatype } from 'faker';
* GeneratedHostSetModelFactory
*/
export default Factory.extend({
type: 'static',
type: () => random.arrayElement(['static', 'plugin']),
name: () => random.words(),
description: () => random.words(),
created_time: () => date.recent(),