Tests: Remove static capture of space used and space allowed.
Originally introduced in [34601], this was necessary to avoid test pollution. Now that things have been separated and written to play nicely, we can remove this. See #34037. git-svn-id: https://develop.svn.wordpress.org/trunk@34902 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
dadd89575f
commit
cce73768b3
@ -11,16 +11,6 @@ if ( is_multisite() ) :
|
||||
class Tests_Multisite_Site extends WP_UnitTestCase {
|
||||
protected $suppress = false;
|
||||
|
||||
protected static $space_used;
|
||||
protected static $space_allowed;
|
||||
|
||||
public static function setUpBeforeClass() {
|
||||
parent::setUpBeforeClass();
|
||||
|
||||
self::$space_allowed = get_space_allowed();
|
||||
self::$space_used = get_space_used();
|
||||
}
|
||||
|
||||
function setUp() {
|
||||
global $wpdb;
|
||||
parent::setUp();
|
||||
|
Loading…
Reference in New Issue
Block a user