Wordpress/tests/phpunit/includes
John Blackbourn f58726da4b Build/Test Tools: Fix PHP 5.2 compatibility for grandchild methods which expect exceptions to be raised.
This is due to `is_callable( 'parent::setExpectedException' )` not being supported on PHP 5.2 when the method being checked only exists on the grandparent class.

See #39822

Merges [40872] and [40873] to the 4.7 branch.


git-svn-id: https://develop.svn.wordpress.org/branches/4.7@40876 602fd350-edb4-49c9-b593-d223f7449a82
2017-06-05 10:41:02 +00:00
..
factory Multisite: Use `get_network()` in `WP_UnitTest_Factory_For_Network`. 2016-11-01 16:51:26 +00:00
bootstrap.php Build/Test Tools: Backport various recent changes to the 4.7 branch. 2017-04-24 00:37:19 +00:00
class-basic-object.php
class-basic-subclass.php
exceptions.php
factory.php
functions.php Build/Test tools: Don't override the `wp_set_auth_cookie()` and `wp_clear_auth_cookie()` functions. 2017-03-10 15:05:36 +00:00
install.php Tests: Fix a PHP notice introduced in [38907]. 2016-10-25 11:05:17 +00:00
mock-fs.php
mock-image-editor.php
mock-mailer.php
phpunit6-compat.php Build/Test Tools: Add a missing class to the PHPUnit 6 back compat. 2017-05-30 22:07:59 +00:00
speed-trap-listener.php
spy-rest-server.php REST API: Allow unsetting of page templates in update requests. 2016-11-23 02:46:42 +00:00
testcase-ajax.php Build/Test Tools: Fix PHP 5.2 compatibility for grandchild methods which expect exceptions to be raised. 2017-06-05 10:41:02 +00:00
testcase-canonical.php
testcase-rest-api.php
testcase-rest-controller.php REST API: Fire correct hooks when creating users on multiste. 2016-11-09 01:34:56 +00:00
testcase-rest-post-type-controller.php REST API: Shim `post_date_gmt` for drafts / empty dates in the REST API. 2017-02-24 22:02:48 +00:00
testcase-xmlrpc.php
testcase.php Build/Test Tools: Fix PHP 5.2 compatibility for grandchild methods which expect exceptions to be raised. 2017-06-05 10:41:02 +00:00
trac.php
utils.php Tests: Restore the database connection earlier when switching test groups. 2016-12-21 05:07:05 +00:00
wp-profiler.php