buddypress/tests/phpunit/includes
Mathieu Viet 89a6666dc6 Fully enjoy Yoast’s PHPUnit polyfills
Using these polyfills let us use PHPUnit v9.x for our tests and add PHP 8.1 to our testing matrix. Some additional edits to our PHP unit tests suite were needed:

- Stop using PHPunit deprecated functions.
- Rename some `BP_UnitTestCase` methods to use Yoast's polyfills.
- Edit the PHP Unit test GH action and also run this action on pull requests.
- Update some composer dependencies, remove the one about `phpunit/phpunit:^7.5` and add a new composer script to use PHPUnit v9.x. 

Props renatonascalves, rafiahmedd

Closes https://github.com/buddypress/buddypress/pull/13
Fixes #8649


git-svn-id: https://buddypress.svn.wordpress.org/trunk@13314 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
2022-08-13 08:58:51 +00:00
..
define-constants.php Use the PHPUnit Composer dependency to run Travis tests 2021-03-01 20:23:16 +00:00
factory.php Update all references from wp_parse_args to bp_parse_args. 2021-09-12 20:43:39 +00:00
install.php CI, Tests: fix MySQL 5.7+ warning when running unit test install script. 2017-09-27 09:03:38 +00:00
loader.php Build/Test Tools: include @wordpress/env into BuddyPress 2020-08-30 17:53:06 +00:00
mock-mailer.php Introduce base classes for new Email implementation. 2016-01-27 16:43:44 +00:00
testcase-emails.php Fully enjoy Yoast’s PHPUnit polyfills 2022-08-13 08:58:51 +00:00
testcase.php Fully enjoy Yoast’s PHPUnit polyfills 2022-08-13 08:58:51 +00:00