test
Some checks failed
PHPUnit / PHPUnit – PHP 8.1 (push) Failing after 51s
PHPUnit / PHPUnit – PHP 8.2 (push) Failing after 51s
PHPUnit / PHPUnit – PHP 8.3 (push) Failing after 49s

This commit is contained in:
André Menrath 2024-09-24 10:28:24 +02:00
parent 515f79fd9c
commit 88c4b88d49
2 changed files with 5 additions and 4 deletions

View file

@ -192,8 +192,8 @@ install_db() {
if [ $(mysql --user="$DB_USER" --password="$DB_PASS"$EXTRA --execute='show databases;' | grep ^$DB_NAME$) ]
then
echo "Reinstalling will delete the existing test database ($DB_NAME)"
read -p 'Are you sure you want to proceed? [y/N]: ' DELETE_EXISTING_DB
recreate_db $DELETE_EXISTING_DB
# read -p 'Are you sure you want to proceed? [y/N]: ' DELETE_EXISTING_DB
recreate_db yes
else
create_db
fi

View file

@ -16,7 +16,8 @@
"dealerdirect/phpcodesniffer-composer-installer": "^1.0.0",
"sirbrillig/phpcs-variable-analysis": "^2.11",
"phpcsstandards/phpcsextra": "^1.1.0",
"dms/phpunit-arraysubset-asserts": "^0.5.0"
"dms/phpunit-arraysubset-asserts": "^0.5.0",
"ml/json-ld": "^1.2"
},
"config": {
"allow-plugins": true
@ -43,7 +44,7 @@
],
"test": [
"composer install",
"tests/install-wp-tests.sh wordpress-test root wordpress-test test-db latest true",
"bin/install-wp-tests.sh wordpress-test root wordpress-test test-db latest true",
"phpunit"
]
}