From c37e99f77ca88ea9d76adac977ee16b4edeb478e Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Mon, 7 Sep 2015 00:20:39 -0400 Subject: [PATCH] set PLUGIN_DATA_ROOT to fixtures directory --- tests/test_helper.bash | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test_helper.bash b/tests/test_helper.bash index acea3b8..d43b8e7 100644 --- a/tests/test_helper.bash +++ b/tests/test_helper.bash @@ -5,8 +5,11 @@ export DOKKU_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/dokku" export DOKKU_VERSION=${DOKKU_VERSION:-"master"} export PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/bin:$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/dokku:$PATH" export PLUGIN_PATH="$DOKKU_ROOT/plugins" +export PLUGIN_DATA_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/fixtures" export SERVICE=redis +mkdir -p $PLUGIN_DATA_ROOT + flunk() { { if [ "$#" -eq 0 ]; then cat - else echo "$*"