[wp-trac] [WordPress Trac] #46567: Run AJAX test gruoup for multisite
WordPress Trac
noreply at wordpress.org
Tue Mar 19 19:11:45 UTC 2019
#46567: Run AJAX test gruoup for multisite
------------------------------+-------------------------------------
Reporter: desrosj | Owner: (none)
Type: task (blessed) | Status: new
Priority: normal | Milestone: 5.2
Component: Build/Test Tools | Version:
Severity: normal | Keywords: needs-patch 2nd-opinion
Focuses: multisite |
------------------------------+-------------------------------------
In the test suite, tests within the `ajax` group are only run when
explicitly passed as an argument in `--group`. These are
[https://core.trac.wordpress.org/browser/tags/5.1.1/Gruntfile.js#L646
tested for single site installs], but not multisite.
Some recent tests added in [44909] are failing when running the `--group
ajax` tests on multisite because of how capabilities for those actions are
mapped for multisite installs.
I am proposing to add `phpunit -c tests/phpunit/multisite.xml --group
ajax` to the test suite.
There is a patch on #43438 that fixes the failures associated with
[44909], but there are several others that should also be fixed before
this can be added.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46567>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list