Make WordPress Core

Changeset 34902


Ignore:
Timestamp:
10/07/2015 07:24:47 AM (9 years ago)
Author:
jeremyfelt
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/multisite/site.php

    r34901 r34902  
    1111class Tests_Multisite_Site extends WP_UnitTestCase {
    1212    protected $suppress = false;
    13 
    14     protected static $space_used;
    15     protected static $space_allowed;
    16 
    17     public static function setUpBeforeClass() {
    18         parent::setUpBeforeClass();
    19 
    20         self::$space_allowed = get_space_allowed();
    21         self::$space_used = get_space_used();
    22     }
    2313
    2414    function setUp() {
Note: See TracChangeset for help on using the changeset viewer.