[wp-unit-tests] [WordPress Unit Tests] #38: Undefined var breaks calls to http() with debug mode on

WordPress Trac wp-trac at lists.automattic.com
Tue Jul 3 17:52:09 UTC 2012


#38: Undefined var breaks calls to http() with debug mode on
----------------------------+-----------------------------------------
 Reporter:  benbalter       |       Owner:
     Type:  defect          |      Status:  closed
 Priority:  minor           |   Milestone:  Legacy - Improve Framework
Component:  Test Framework  |  Resolution:  invalid
 Keywords:                  |
----------------------------+-----------------------------------------
Changes (by nacin):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 We'd still have to call $wp->main(), even without an argument. But the new
 runner now does this:
 {{{
                 if ( ! isset( $parts['query'] ) ) {
                         $parts['query'] = '';
                 }
 }}}

 So this is now fixed.

-- 
Ticket URL: <http://unit-tests.trac.wordpress.org/ticket/38#comment:1>
WordPress Unit Tests <http://unit-tests.trac.wordpress.org>
My example project


More information about the wp-unit-tests mailing list