Skip to content

Commit

Permalink
Merge pull request #2457 from 10up/tests/add-phpunit-polyfills
Browse files Browse the repository at this point in the history
Add yoast/phpunit-polyfills as a dev dependency
  • Loading branch information
felipeelia authored Nov 12, 2021
2 parents 1b82019 + bb4a705 commit 4e000d5
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 4 deletions.
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,15 @@
"wpackagist-plugin/woocommerce":"*",
"phpunit/phpunit": "^7",
"10up/wpacceptance": "dev-master",
"phpcompatibility/phpcompatibility-wp": "*"
"phpcompatibility/phpcompatibility-wp": "*",
"yoast/phpunit-polyfills": "1.x-dev"
},
"scripts": {
"lint": "phpcs elasticpress.php includes",
"lint-fix": "phpcbf elasticpress.php includes",
"test": "phpunit",
"test-single-site": "phpunit -c single-site.xml.dist",
"setup-local-tests": "bash bin/install-wp-tests.sh ep_wp_test root password mysql trunk true"
"setup-local-tests": "bash bin/install-wp-tests.sh ep_wp_test root password 127.0.0.1 latest true"
},
"extra": {
"installer-paths": {
Expand Down
62 changes: 60 additions & 2 deletions composer.lock

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

0 comments on commit 4e000d5

Please sign in to comment.