Changeset 51869 for trunk/tests/phpunit/tests/multisite/wpNetworkQuery.php
- Timestamp:
- 09/25/2021 01:27:47 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/multisite/wpNetworkQuery.php
r51860 r51869 12 12 class Tests_Multisite_wpNetworkQuery extends WP_UnitTestCase { 13 13 protected static $network_ids; 14 15 protected $suppress = false;16 17 function set_up() {18 global $wpdb;19 parent::set_up();20 $this->suppress = $wpdb->suppress_errors();21 }22 23 function tear_down() {24 global $wpdb;25 $wpdb->suppress_errors( $this->suppress );26 parent::tear_down();27 }28 14 29 15 public static function wpSetUpBeforeClass( WP_UnitTest_Factory $factory ) {
Note: See TracChangeset
for help on using the changeset viewer.