mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
UI unit test: fix expected values (#7792)
This commit is contained in:
parent
a2eb10304f
commit
fd13184dda
@ -767,7 +767,6 @@
|
||||
"label.egressdefaultpolicy": "Default egress policy",
|
||||
"label.elastic": "Elastic",
|
||||
"label.email": "Email",
|
||||
"label.enabled": "Enabled",
|
||||
"label.enable.autoscale.vmgroup": "Enable AutoScale VM Group",
|
||||
"label.enable.host": "Enable Host",
|
||||
"label.enable.network.offering": "Enable network offering",
|
||||
@ -2016,6 +2015,7 @@
|
||||
"label.uk.keyboard": "UK keyboard",
|
||||
"label.unauthorized": "Unauthorized",
|
||||
"label.unavailable": "Unavailable",
|
||||
"label.undefined": "Undefined",
|
||||
"label.unit": "Usage unit",
|
||||
"label.unknown": "Unknown",
|
||||
"label.unlimited": "Unlimited",
|
||||
|
||||
@ -1140,10 +1140,9 @@ describe('Views > AutogenView.vue', () => {
|
||||
])
|
||||
expect(wrapper.vm.showAction).toBeTruthy()
|
||||
expect(listUuidOpts).toHaveBeenCalledTimes(4)
|
||||
expect(listUuidOpts).toHaveBeenCalledWith({ name: 'id', type: 'uuid' })
|
||||
expect(listUuidOpts).toHaveBeenCalledWith({ name: 'column1', type: 'list' })
|
||||
expect(listUuidOpts).toHaveBeenCalledWith({ name: 'column2', type: 'string' })
|
||||
expect(listUuidOpts).toHaveBeenCalledWith({ name: 'account', type: 'string' })
|
||||
expect(listUuidOpts).toHaveBeenCalledWith({ name: 'id', type: 'uuid' }, undefined)
|
||||
expect(listUuidOpts).toHaveBeenCalledWith({ name: 'column1', type: 'list' }, undefined)
|
||||
expect(listUuidOpts).toHaveBeenCalledWith({ name: 'column2', type: 'string' }, undefined)
|
||||
done()
|
||||
})
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user