Commit 02f310f6 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch '207322-use-vue-test-utils-for-application-row-tests' into 'master'

Use vue-test-utils for application row tests

See merge request gitlab-org/gitlab!33934
parents 156c3306 4032fc49
...@@ -282,12 +282,16 @@ export default { ...@@ -282,12 +282,16 @@ export default {
}, },
methods: { methods: {
installClicked() { installClicked() {
if (this.disabled || this.installButtonDisabled) return;
eventHub.$emit('installApplication', { eventHub.$emit('installApplication', {
id: this.id, id: this.id,
params: this.installApplicationRequestParams, params: this.installApplicationRequestParams,
}); });
}, },
updateConfirmed() { updateConfirmed() {
if (this.isUpdating) return;
eventHub.$emit('updateApplication', { eventHub.$emit('updateApplication', {
id: this.id, id: this.id,
params: this.installApplicationRequestParams, params: this.installApplicationRequestParams,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment