Changeset 39626 for trunk/tests/phpunit/includes/testcase.php
- Timestamp:
- 12/21/2016 04:58:47 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/testcase.php
r38678 r39626 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.