Split and improve multisite tests for upload quota

Break a single test with many assertions into many tests with single assertions.

In the process, provide separate and comprehensive tests for `upload_is_user_over_quota()`, `is_upload_space_available()`, and `get_space_allowed()`.

Also removes a check for `BLOGSUPLOADDIR`, a constant that never existed. New tests will need to be introduced to handle the ms-files group.

See #30080

Built from https://develop.svn.wordpress.org/trunk@30715


git-svn-id: http://core.svn.wordpress.org/trunk@30705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Jeremy Felt 2014-12-02 22:56:22 +00:00
parent 0826f8ede2
commit 2c25a4947f

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.1-beta2-30714';
$wp_version = '4.1-beta2-30715';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.