Skip to content

Commit abc48ff

Browse files
committed
Clean up database before running WordPress PHPUnit tests
1 parent d298e4a commit abc48ff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"npm --prefix wordpress run env:install"
5151
],
5252
"wp-test-phpunit": [
53-
"npm --prefix wordpress run test:php --"
53+
"rm -rf wordpress/src/wp-content/database && npm --prefix wordpress run test:php --"
5454
],
5555
"wp-test-clean": [
5656
"npm --prefix wordpress run env:clean"

0 commit comments

Comments
 (0)