Jelajahi Sumber

acceptence tests shall specify which branch to pick when cloning apps

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Arthur Schiwon 4 tahun lalu
induk
melakukan
a71701f2e7
1 mengubah file dengan 2 tambahan dan 1 penghapusan
  1. 2 1
      tests/acceptance/run-local.sh

+ 2 - 1
tests/acceptance/run-local.sh

@@ -64,6 +64,7 @@ if [ "$1" = "--acceptance-tests-dir" ]; then
 fi
 
 ACCEPTANCE_TESTS_CONFIG_DIR="../../$ACCEPTANCE_TESTS_DIR/config"
+DEV_BRANCH="stable18"
 
 # "--timeout-multiplier N" option can be provided to set the timeout multiplier
 # to be used in ActorContext.
@@ -195,7 +196,7 @@ ln --symbolic $(pwd) /var/www/html
 
 # Add Notifications app to the "apps" directory (unless it is already there).
 if [ ! -e "apps/notifications" ]; then
-	(cd apps && git clone --depth 1 https://github.com/nextcloud/notifications)
+	(cd apps && git clone --depth 1 --branch ${DEV_BRANCH} https://github.com/nextcloud/notifications)
 fi
 
 INSTALL_AND_CONFIGURE_SERVER_PARAMETERS=""