tests: add a test for application renames

Also ensure the plugin:trigger calls are issued under the dokku user
This commit is contained in:
Jose Diaz-Gonzalez
2021-01-23 18:31:22 -05:00
parent f9693e78c8
commit c1ff3d4652
2 changed files with 31 additions and 1 deletions

View File

@@ -7,7 +7,7 @@ cmd-plugin-trigger() {
declare cmd="plugin:trigger"
[[ "$1" == "$cmd" ]] && shift 1
plugn trigger "$@"
sudo -u dokku -E -H plugn trigger "$@"
}
cmd-plugin-trigger "$@"