[wp-trac] [WordPress Trac] #36567: Allow overriding constants in testing framework
WordPress Trac
noreply at wordpress.org
Mon Apr 18 02:13:46 UTC 2016
#36567: Allow overriding constants in testing framework
------------------------------+-----------------
Reporter: rmccue | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.6
Component: Build/Test Tools | Version:
Severity: normal | Keywords:
Focuses: |
------------------------------+-----------------
`bootstrap.php` in our testing harness sets some constants, and it's
impossible to override these (without warnings, at least). In particular,
you can define `WP_TESTS_MULTISITE` to set multisite, but you can't set
`SUBDOMAIN_INSTALL`. This makes it impossible to test sites which need
multisite, or to test plugins which do subdomain-specific things (such as
domain mapping and aliasing).
These should only be defined if not already, rather than forcing them.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36567>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list