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