[wp-trac] [WordPress Trac] #43751: REST API: Attachments controller should respect "Max upload file size" and "Site upload space" in multisite
WordPress Trac
noreply at wordpress.org
Mon Jul 16 17:17:05 UTC 2018
#43751: REST API: Attachments controller should respect "Max upload file size" and
"Site upload space" in multisite
--------------------------------------+----------------------------------
Reporter: danielbachhuber | Owner: pento
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.9.8
Component: Media | Version: 4.7
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses: multisite, rest-api
--------------------------------------+----------------------------------
Comment (by danielbachhuber):
@pento The tests pass locally for me. I think you forgot to run `grunt
build`.
{{{
$ grunt
patch:https://core.trac.wordpress.org/attachment/ticket/43751/43751.2.diff
$ grunt build
$ phpunit --group 43751 -c tests/phpunit/multisite.xml
Installing...
Installing network...
Running as multisite...
Not running ajax tests. To execute these, use --group ajax.
Not running ms-files tests. To execute these, use --group ms-files.
Not running external-http tests. To execute these, use --group external-
http.
PHPUnit 5.7.22 by Sebastian Bergmann and contributors.
.... 4 / 4
(100%)
Time: 3.01 seconds, Memory: 82.00MB
OK (4 tests, 16 assertions)
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43751#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list