[wp-trac] [WordPress Trac] #27749: `wp_die()` should die in plain text when running the test suite

WordPress Trac noreply at wordpress.org
Thu Apr 10 16:39:32 UTC 2014


#27749: `wp_die()` should die in plain text when running the test suite
-------------------------------+-----------------------------
 Reporter:  Denis-de-Bernardy  |      Owner:
     Type:  defect (bug)       |     Status:  new
 Priority:  normal             |  Milestone:  Awaiting Review
Component:  Build/Test Tools   |    Version:  trunk
 Severity:  normal             |   Keywords:
  Focuses:                     |
-------------------------------+-----------------------------
 See:

 {{{
 denis at DB:~/wk/wpdevel $ phpunit
 PHP Warning:  mysqli_real_connect(): Headers and client library minor
 version mismatch. Headers:50536 Library:100010 in
 /Users/denis/wk/wpdevel/src/wp-includes/wp-db.php on line 1342
 PHP Stack trace:
 PHP   1. {main}()
 /Users/denis/wk/wpdevel/tests/phpunit/includes/install.php:0
 PHP   2. require_once()
 /Users/denis/wk/wpdevel/tests/phpunit/includes/install.php:20
 PHP   3. require_wp_db() /Users/denis/wk/wpdevel/src/wp-settings.php:79
 PHP   4. wpdb->__construct() /Users/denis/wk/wpdevel/src/wp-
 includes/load.php:327
 PHP   5. wpdb->db_connect() /Users/denis/wk/wpdevel/src/wp-includes/wp-
 db.php:604
 PHP   6. mysqli_real_connect() /Users/denis/wk/wpdevel/src/wp-includes/wp-
 db.php:1342

 Warning: mysqli_real_connect(): Headers and client library minor version
 mismatch. Headers:50536 Library:100010 in /Users/denis/wk/wpdevel/src/wp-
 includes/wp-db.php on line 1342

 Call Stack:
     0.0004     651072   1. {main}()
 /Users/denis/wk/wpdevel/tests/phpunit/includes/install.php:0
     0.0020     815576   2. require_once('/Users/denis/wk/wpdevel/src/wp-
 settings.php')
 /Users/denis/wk/wpdevel/tests/phpunit/includes/install.php:20
     0.0220    3798264   3. require_wp_db() /Users/denis/wk/wpdevel/src/wp-
 settings.php:79
     0.0256    4336136   4. wpdb->__construct() /Users/denis/wk/wpdevel/src
 /wp-includes/load.php:327
     0.0257    4337184   5. wpdb->db_connect() /Users/denis/wk/wpdevel/src
 /wp-includes/wp-db.php:604
     0.0258    4340872   6. mysqli_real_connect()
 /Users/denis/wk/wpdevel/src/wp-includes/wp-db.php:1342

 <!DOCTYPE html>
 Boat loads of HTML goes here…
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27749>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list