[wp-trac] [WordPress Trac] #37523: Unit tests: Move classes out of includes/functions.php into their own file

WordPress Trac noreply at wordpress.org
Mon Aug 29 15:59:11 UTC 2016


#37523: Unit tests: Move classes out of includes/functions.php into their own file
------------------------------+---------------------------
 Reporter:  Frank Klein       |       Owner:  boonebgorges
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  4.7
Component:  Build/Test Tools  |     Version:  4.6
 Severity:  normal            |  Resolution:  fixed
 Keywords:                    |     Focuses:
------------------------------+---------------------------

Comment (by TimothyBlynJacobs):

 This broke unit tests that I have that use the `Basic_Object` class in a
 test since they are now only loaded in that test file instead of the
 functions file. Could the require calls be moved to the functions file so
 those classes are always available?

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


More information about the wp-trac mailing list