[wp-trac] [WordPress Trac] #25282: Unit Tests should run in Debug mode

WordPress Trac noreply at wordpress.org
Thu Sep 12 04:01:35 UTC 2013


#25282: Unit Tests should run in Debug mode
----------------------------+--------------------
 Reporter:  wonderboymusic  |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  3.7
Component:  Unit Tests      |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:                  |
----------------------------+--------------------

Comment (by wonderboymusic):

 In [changeset:"25374"]:
 {{{
 #!CommitTicketReference repository="" revision="25374"
 Passing non-existent object properties to `WP_UnitTestCase::assertNull()`
 produces notices, opt instead for `WP_UnitTestCase::assertTrue( empty(
 $obj->prop ) )` in `tests/db.php`.

 See #25282.
 }}}

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25282#comment:18>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list