Wordpress/tests/phpunit/includes
Aaron Jorbin 42efaab548 Build/Test: Die with an error if populate_network fails
If you are missing WP_TESTS_EMAIL, populate_network will fail and it can be hard to debug. As populate_network can return a wp_error object, we can detect that and display the error to a user.

See: https://github.com/WordPress/gutenberg/pull/22613
Fixes: #50251
Props: TimothyBlynJacobs


git-svn-id: https://develop.svn.wordpress.org/trunk@47904 602fd350-edb4-49c9-b593-d223f7449a82
2020-06-03 21:02:42 +00:00
..
factory
phpunit6
phpunit7 Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:31:22 +00:00
abstract-testcase.php Build/Test Tools: Let WP_UnitTestCase_Base extend the namespaced version of PHPUnit's test case class. 2020-06-01 19:41:50 +00:00
bootstrap.php Build/Test Tools: Let WP_UnitTestCase_Base extend the namespaced version of PHPUnit's test case class. 2020-06-01 19:41:50 +00:00
class-basic-object.php
class-basic-subclass.php
class-jsonserializable-object.php
class-wp-fake-block-type.php
class-wp-rest-test-configurable-controller.php REST API: Don't assume all item schemas have properties. 2020-02-20 16:56:17 +00:00
class-wp-rest-test-search-handler.php
exceptions.php
factory.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:31:22 +00:00
functions.php Build/Test Tools: Avoid an empty "title" heading if no title is set in _wp_die_handler_exit() and _wp_die_handler_txt(). 2020-06-01 20:48:27 +00:00
install.php Build/Test: Die with an error if populate_network fails 2020-06-03 21:02:42 +00:00
listener-loader.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:31:22 +00:00
mock-fs.php
mock-image-editor.php
mock-mailer.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:31:22 +00:00
object-cache.php
plural-form-function.php
speed-trap-listener.php
spy-rest-server.php Docs: Improve documentation for tests/phpunit/includes/spy-rest-server.php. 2020-02-11 00:18:28 +00:00
testcase-ajax.php
testcase-canonical.php Tests: Give canonical test fixtures for paginated content more descriptive names. 2020-05-10 20:29:18 +00:00
testcase-rest-api.php
testcase-rest-controller.php
testcase-rest-post-type-controller.php
testcase-xmlrpc.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:31:22 +00:00
testcase.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:31:22 +00:00
trac.php
utils.php
wp-profiler.php