[wp-trac] [WordPress Trac] #36166: wp_die() doesn't accept a WP_Error during unit testing
    WordPress Trac 
    noreply at wordpress.org
       
    Wed Mar 23 13:51:09 UTC 2016
    
    
  
#36166: wp_die() doesn't accept a WP_Error during unit testing
------------------------------+------------------------------
 Reporter:  dd32              |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |     Focuses:
------------------------------+------------------------------
Comment (by utkarshpatel):
 @boonebgorges yes, it was mistake but code will be same and we can also
 use enhancement of
 [https://core.trac.wordpress.org/attachment/ticket/36166/36166_1.patch
 36166_1.patch]
 Changes on
 https://core.trac.wordpress.org/browser/tags/4.4.2/tests/phpunit/includes/testcase.php#L274
 function are attached in
 [https://core.trac.wordpress.org/attachment/ticket/36166/36166_2.patch
 36166_2.patch]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36166#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
    
    
More information about the wp-trac
mailing list