[wp-trac] [WordPress Trac] #36567: Allow overriding constants in testing framework

WordPress Trac noreply at wordpress.org
Thu Apr 21 06:13:02 UTC 2016


#36567: Allow overriding constants in testing framework
------------------------------+-------------------------
 Reporter:  rmccue            |       Owner:  jeremyfelt
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  4.6
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch         |     Focuses:  multisite
------------------------------+-------------------------

Comment (by rmccue):

 Replying to [comment:8 jeremyfelt]:
 > For the most part, tests work with `SUBDOMAIN_INSTALL` enabled. There
 are 4 failing tests in `tests/multisite/site.php` due to the way our blog
 factory assumes a subdirectory configuration and how tests handle that. We
 should be able to fix this as part of #36566.

 FWIW, I'm happy for core tests to fail; the main issue was that this
 occurred any time you use core's bootstrapping, i.e. for plugin or site
 testing. So long as the framework works, rmccue-likes.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36567#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list