Changeset 39627 for branches/4.7/tests/phpunit/includes/testcase.php
- Timestamp:
- 12/21/2016 05:07:05 AM (10 years ago)
- Location:
- branches/4.7
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
tests/phpunit/includes/testcase.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.7
-
branches/4.7/tests/phpunit/includes/testcase.php
r38678 r39627 58 58 59 59 public static function setUpBeforeClass() { 60 global $wpdb; 61 62 $wpdb->suppress_errors = false; 63 $wpdb->show_errors = true; 64 $wpdb->db_connect(); 65 ini_set('display_errors', 1 ); 66 60 67 parent::setUpBeforeClass(); 61 68 … … 99 106 } 100 107 101 global $wpdb, $wp_rewrite; 102 $wpdb->suppress_errors = false; 103 $wpdb->show_errors = true; 104 $wpdb->db_connect(); 105 ini_set('display_errors', 1 ); 108 global $wp_rewrite; 109 106 110 $this->clean_up_global_scope(); 107 111
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)