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

WordPress Trac noreply at wordpress.org
Thu Sep 12 06:41:37 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:"25394"]:
 {{{
 #!CommitTicketReference repository="" revision="25394"
 * `sort()` returns a boolean, not a sorted set. Move the calls out of the
 assertions and fix the test methods.
 * Fix instances where `Only variables should be passed by reference` was
 being triggered by assigning `array_keys()` return value to a var

 See #25282.
 }}}

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


More information about the wp-trac mailing list