Make WordPress Core

Changeset 34602


Ignore:
Timestamp:
09/26/2015 07:28:34 PM (10 years ago)
Author:
wonderboymusic
Message:

After [34601], some more cleanup.

Location:
trunk/tests/phpunit/tests
Files:
2 edited

Legend:

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

    r34601 r34602  
    10961096        add_filter( 'pre_get_space_used', array( $this, '_filter_space_used' ) );
    10971097        $available = is_upload_space_available();
     1098        $used = get_space_used();
    10981099        remove_filter( 'pre_get_space_used', array( $this, '_filter_space_used' ) );
    10991100
    11001101        $this->assertEquals(
    11011102            $available,
    1102             self::$space_used < 250
     1103            $used < 250
    11031104        );
    11041105    }
  • trunk/tests/phpunit/tests/xmlrpc/wp/uploadFile.php

    r34601 r34602  
    4242        $this->make_user_by_role( 'editor' );
    4343
    44         update_option( 'blog_upload_space', 0.1 );
     44        update_option( 'blog_upload_space', 0 );
    4545
    4646        // create attachment
Note: See TracChangeset for help on using the changeset viewer.