Opened 11 years ago
Closed 11 years ago
#25242 closed defect (bug) (fixed)
Provide correct multisite test information in bootstrap.php
Reported by: | jeremyfelt | Owned by: | nacin |
---|---|---|---|
Milestone: | 3.7 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Unit Tests | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
tests/phpunit/includes/bootstrap.php
current provides instructions to use phpunit -c multisite.xml
to run multisite unit tests. As of [25156], things were modified quite a bit and this no longer works.
Patch accounts for the new location of multisite.xml
and the WP_TESTS_MULTISITE
constant.
Attachments (1)
Change History (7)
#3
@
11 years ago
Running as single site... To run multisite, use -c tests/phpunit/multisite.xml
is 78, should we just go with that and leave it up to the reader to find the constant?
#4
follow-up:
↓ 5
@
11 years ago
Perhaps multisite.xml
should just be copied to the root directory instead?
#5
in reply to:
↑ 4
@
11 years ago
Replying to SergeyBiryukov:
Perhaps
multisite.xml
should just be copied to the root directory instead?
I don't think that is necessary, at least for the moment. Also, we might end up with new configuration files or test suites for running ajax tests.
Adding a reference to the constant pushes this from under 80 characters wide to more than 130.