Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"scripts": {
"prepare": "husky install",
"test:php": "WP_TESTS_DIR=./.wp-tests-lib WP_DEVELOP_DIR=./.wp-core src/vendor/bin/phpunit -c phpunit.xml",
"test:php": "WP_TESTS_DIR=./.wp-tests-lib src/vendor/bin/phpunit -c phpunit.xml",
"test:php:watch": "npm run test:php -- --testdox",
"test:playwright": "playwright test -c tests/playwright/playwright.config.ts",
"test:playwright:debug": "npm run test:playwright -- --debug",
Expand Down
2 changes: 1 addition & 1 deletion tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ npm run test:php:watch

Or run PHPUnit directly:
```bash
WP_TESTS_DIR=./.wp-tests-lib WP_DEVELOP_DIR=./.wp-core src/vendor/bin/phpunit -c phpunit.xml
WP_TESTS_DIR=./.wp-tests-lib src/vendor/bin/phpunit -c phpunit.xml
```

## What Gets Installed
Expand Down
4 changes: 0 additions & 4 deletions tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@
$_tests_dir = getenv( 'WP_TESTS_DIR' );
break;

case (bool) getenv( 'WP_DEVELOP_DIR' ):
$_tests_dir = getenv( 'WP_DEVELOP_DIR' ) . '/tests/phpunit';
break;

case (bool) getenv( 'WP_PHPUNIT__DIR' ):
$_tests_dir = getenv( 'WP_PHPUNIT__DIR' );
break;
Expand Down
83 changes: 0 additions & 83 deletions tests/install.sh

This file was deleted.

Loading