Wordpress/tests/phpunit/includes
Helen Hou-Sandi 5af14c3e07 Mail: Set a better error code when triggering wp_mail_failed.
This error code is now... wait for it... `wp_mail_failed`. Previously, this would have been the originating PHPMailer error code, which could be `0`, which would then fail (pass?) the `empty()` check in the `WP_Error` constructor, thereby rendering the error object fairly useless. The PHPMailer error code is now located within the `WP_Error` data.

props Kau-Boy, stephenharris.
fixes #35598.


git-svn-id: https://develop.svn.wordpress.org/trunk@39086 602fd350-edb4-49c9-b593-d223f7449a82
2016-11-02 04:26:18 +00:00
..
factory Multisite: Use get_network() in WP_UnitTest_Factory_For_Network. 2016-11-01 16:51:26 +00:00
bootstrap.php Mail: Set a better error code when triggering wp_mail_failed. 2016-11-02 04:26:18 +00:00
class-basic-object.php Tests: Add docblocks for Basic_Object and Basic_Subclass classes. 2016-08-30 14:31:56 +00:00
class-basic-subclass.php Tests: Add docblocks for Basic_Object and Basic_Subclass classes. 2016-08-30 14:31:56 +00:00
exceptions.php
factory.php Add tests for get_bookmarks() cache. 2016-05-25 18:20:24 +00:00
functions.php Tests: Use a minimal theme for tests. 2016-10-25 10:24:57 +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 Mail: Improve handling of UTF-8 address headers. 2016-07-13 18:03:52 +00:00
speed-trap-listener.php
spy-rest-server.php REST API: Deliver parameters unadulterated instead of slashed. 2016-04-06 21:01:11 +00:00
testcase-ajax.php Plugins: Move capability checks further up in wp_ajax_update_plugin() and wp_ajax_delete_plugin(). 2016-07-27 17:42:01 +00:00
testcase-canonical.php Built/Test Tools: Unify the way the permastructure is set when used in conjunction with re-registering the initial taxonomies. This ensure that rewrite rules for taxonomies are consistently available. 2016-09-26 17:01:48 +00:00
testcase-rest-api.php
testcase-rest-controller.php REST API: Introduce the Content API endpoints. 2016-10-20 02:54:12 +00:00
testcase-rest-post-type-controller.php REST API: Introduce the Content API endpoints. 2016-10-20 02:54:12 +00:00
testcase-xmlrpc.php Bootstrap: do not go gentle into that good night r38411, r38412, and parts of r38389. 2016-08-31 16:30:48 +00:00
testcase.php Tests: Reset post-related globals after each test. 2016-09-30 03:15:36 +00:00
trac.php
utils.php REST API: Introduce the Content API endpoints. 2016-10-20 02:54:12 +00:00
wp-profiler.php