Skip to content

Commit

Permalink
tests: update DistributorPostTest
Browse files Browse the repository at this point in the history
  • Loading branch information
ravinderk committed Sep 15, 2023
1 parent 9a0491d commit 458e451
Show file tree
Hide file tree
Showing 5 changed files with 269 additions and 41 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"require-dev": {
"10up/phpcs-composer": "dev-master",
"automattic/vipwpcs": "^2.3",
"php-stubs/wordpress-tests-stubs": "^6.2",
"php-stubs/wordpress-tests-stubs": "^6.3",
"yoast/phpunit-polyfills": "dev-main"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
>
<php>
<const name="WP_TESTS_MULTISITE" value="1" />
</php>
<testsuites>
<testsuite name='distributor-tests'>
<directory suffix="Test.php">./tests/php/</directory>
Expand Down
Loading

0 comments on commit 458e451

Please sign in to comment.