Skip to content

Commit

Permalink
#122: Update all phpunit.xml paths & perform --migrate-configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
tormi committed Mar 13, 2021
1 parent b9d6932 commit 0e2698b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .lando/phpunit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,10 @@ PHPUNIT_CONFIG=/app/phpunit.xml
if [ ! -f "$PHPUNIT_CONFIG" ]; then
cd /app
cp -n web/core/phpunit.xml.dist phpunit.xml
sed -i 's|tests\/bootstrap\.php|/app/web/core/tests/bootstrap.php|g' phpunit.xml
sed -i 's|tests\/bootstrap\.php|./web/core/tests/bootstrap.php|g' phpunit.xml
sed -i 's|\.\/tests\/|./web/core/tests/|g' phpunit.xml
sed -i 's|directory>\.\/|directory>./web/core/|g' phpunit.xml
sed -i 's|directory>\.\.\/|directory>./web/core/|g' phpunit.xml
vendor/bin/phpunit --migrate-configuration
rm phpunit.xml.bak
fi

0 comments on commit 0e2698b

Please sign in to comment.