diff --git a/@xen-orchestra/web/src/modules/v2v/composables/use-v2v-migration-list.composable.unit.test.ts b/@xen-orchestra/web/src/modules/v2v/composables/use-v2v-migration-list.composable.unit.test.ts index 1635c7560e..b26a5053a5 100644 --- a/@xen-orchestra/web/src/modules/v2v/composables/use-v2v-migration-list.composable.unit.test.ts +++ b/@xen-orchestra/web/src/modules/v2v/composables/use-v2v-migration-list.composable.unit.test.ts @@ -15,7 +15,9 @@ import { readV2vMigrationListStorage, seedV2vMigrationList } from '@/test/v2v-mi import { V2V_EMPTY_LIST, V2V_LIST_WITH_VMS } from '@/test/v2v-wizard-fixtures.ts' import { nextTick, type Ref, ref } from 'vue' -const [FIRST_VM, SECOND_VM, THIRD_VM, FOURTH_VM] = createV2vMigrationListVms(4) +const [FIRST_VM, SECOND_VM] = V2V_LIST_WITH_VMS.vms + +const [THIRD_VM, FOURTH_VM] = createV2vMigrationListVms(4).slice(V2V_LIST_WITH_VMS.vms.length) // Every write rebuilds the list without this field: finding it again proves nothing was written const UNWRITTEN_LIST = { ...V2V_LIST_WITH_VMS, unknownField: true }