[wp-unit-tests] [WordPress Unit Tests] #107: Fatal error in factory.php when running multisite tests

WordPress Trac wp-trac at lists.automattic.com
Thu Jul 19 16:33:13 UTC 2012


#107: Fatal error in factory.php when running multisite tests
-------------------------------+---------------------
 Reporter:  ryan               |       Owner:
     Type:  defect             |      Status:  closed
 Priority:  normal             |   Milestone:
Component:  Admin Screen       |  Resolution:  fixed
 Keywords:  reporter-feedback  |
-------------------------------+---------------------

Comment (by ryan):

 Added a bunch of assertInternalType() assertions. If WP_Error is returned
 instead of array, the error message contains the contents of WP_Error,
 making it clear what went wrong.

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


More information about the wp-unit-tests mailing list