Commit 4032fc49 authored by Daniel Tian's avatar Daniel Tian

Use vue-test-utils for application row tests

parent d59c77bb
...@@ -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