Browse Source

Have to use Drupal types not classes/interfaces

pull/804/head
Jared Whiklo 5 years ago
parent
commit
18703e9c63
  1. 4
      .scripts/run-tests.sh

4
.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

Loading…
Cancel
Save