This is an automated email from the ASF dual-hosted git repository.
dahn pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/main by this push:
new 0204377032f Fix UI unit tests (#7856)
0204377032f is described below
commit 0204377032fe3352914b4306fd3c480bdbb4ad09
Author: Nicolas Vazquez <[email protected]>
AuthorDate: Fri Aug 11 11:47:11 2023 -0300
Fix UI unit tests (#7856)
---
ui/tests/unit/views/AutogenView.spec.js | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/ui/tests/unit/views/AutogenView.spec.js
b/ui/tests/unit/views/AutogenView.spec.js
index d22c9a267ab..eb0352f99d1 100644
--- a/ui/tests/unit/views/AutogenView.spec.js
+++ b/ui/tests/unit/views/AutogenView.spec.js
@@ -739,12 +739,14 @@ describe('Views > AutogenView.vue', () => {
expect(wrapper.vm.items).toEqual([{
id: 'test-id',
name: 'test-name-value',
- key: 0
+ key: 0,
+ column1: 'test-name-value'
}])
expect(wrapper.vm.resource).toEqual({
id: 'test-id',
name: 'test-name-value',
- key: 0
+ key: 0,
+ column1: 'test-name-value'
})
done()
})