[wp-trac] [WordPress Trac] #21181: simplify and add filter to is_upload_space_available
WordPress Trac
wp-trac at lists.automattic.com
Wed Sep 26 02:13:24 UTC 2012
#21181: simplify and add filter to is_upload_space_available
------------------------------------+-----------------------
Reporter: jkudish | Owner: westi
Type: enhancement | Status: reopened
Priority: normal | Milestone: 3.5
Component: Multisite | Version: 3.4.1
Severity: normal | Resolution:
Keywords: needs-unit-tests close |
------------------------------------+-----------------------
Comment (by SergeyBiryukov):
Replying to [comment:22 jkudish]:
> I agree. However, could it be that the test was skipped?
I guess not. Once the ticket is marked as fixed, the associated tests are
no longer skipped by default.
Looks like the test covers `upload_is_user_over_quota()`,
`is_upload_space_available()`, and `get_space_allowed()`. We should also
add some assertions for `get_space_used()`, if possible.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21181#comment:23>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list