diff --git a/ui/mirage/factories/allocation.js b/ui/mirage/factories/allocation.js index 6316dc0ab..c91ba9c95 100644 --- a/ui/mirage/factories/allocation.js +++ b/ui/mirage/factories/allocation.js @@ -13,7 +13,7 @@ const REF_TIME = new Date(); export default Factory.extend({ id: i => (i >= 100 ? `${UUIDS[i % 100]}-${i}` : UUIDS[i]), - jobVersion: () => faker.random.number(10), + jobVersion: 1, modifyIndex: () => faker.random.number({ min: 10, max: 2000 }), modifyTime: () => faker.date.past(2 / 365, REF_TIME) * 1000000, diff --git a/ui/mirage/factories/job.js b/ui/mirage/factories/job.js index 617d9239a..90e2f27b3 100644 --- a/ui/mirage/factories/job.js +++ b/ui/mirage/factories/job.js @@ -18,6 +18,8 @@ export default Factory.extend({ return this.id; }, + version: 1, + groupsCount: () => faker.random.number({ min: 1, max: 2 }), region: () => 'global',