Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Fixed Unit Tests
Since we've made it so that the default is no longer to support
`wp-phpunit/wp-phpunit`, we need to explicitly override the
default `wp-env` behavior. This will be cleaned up in a future
pull request that switches over entirely to the test files in the
environment.
  • Loading branch information
ObliviousHarmony committed Jul 14, 2022
commit f0c272177a39643f5e0a8fae48d5b7ccb09feef1
4 changes: 4 additions & 0 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,8 @@
<group>ms-required</group>
</exclude>
</groups>
<php>
<env name="WP_PHPUNIT__TESTS_CONFIG" value="/wordpress-phpunit/wp-tests-config.php" />
<env name="WP_TESTS_DIR" value="" />
</php>
</phpunit>
4 changes: 4 additions & 0 deletions phpunit/multisite.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,8 @@
<group>ms-excluded</group>
</exclude>
</groups>
<php>
<env name="WP_PHPUNIT__TESTS_CONFIG" value="/wordpress-phpunit/wp-tests-config.php" />
<env name="WP_TESTS_DIR" value="" />
</php>
</phpunit>