From 18703e9c6382365e1cb4d1aca8202fa870050da4 Mon Sep 17 00:00:00 2001 From: Jared Whiklo Date: Wed, 14 Oct 2020 13:55:06 -0500 Subject: [PATCH] Have to use Drupal types not classes/interfaces --- .scripts/run-tests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.scripts/run-tests.sh b/.scripts/run-tests.sh index 25cf316e..46a0cb16 100755 --- a/.scripts/run-tests.sh +++ b/.scripts/run-tests.sh @@ -3,8 +3,8 @@ # Wrapper for the test executing function so we only have to change it in one place. # The module name gets passed in as a command line arg. if [ "$1" == "unit" ]; then - TYPE="--types \"IslandoraKernelTestBase\"" + TYPE="--types \"PHPUnit-Unit,PHPUnit-Kernel,Simpletest\"" elif [ "$1" == "functional" ]; then - TYPE="--types \"IslandoraFunctionalTestBase,WebDriverTestBase\"" + TYPE="--types \"PHPUnit-FunctionalJavascript,PHPUnit-Functional\"" fi php core/scripts/run-tests.sh --suppress-deprecations --concurrency 2 --url http://127.0.0.1:8282 --verbose --php `which php` --module "$2" $TYPE