[wp-trac] [WordPress Trac] #30860: Add unit tests for plugin.php

WordPress Trac noreply at wordpress.org
Wed Dec 31 10:49:51 UTC 2014


#30860: Add unit tests for plugin.php
------------------------------+---------------------------
 Reporter:  sgrant            |       Owner:  boonebgorges
     Type:  enhancement       |      Status:  reopened
 Priority:  normal            |   Milestone:  4.2
Component:  Build/Test Tools  |     Version:  trunk
 Severity:  normal            |  Resolution:
 Keywords:                    |     Focuses:
------------------------------+---------------------------

Comment (by valendesigns):

 Sorry, I should have clarified which tests are now failing.

 {{{
 1) Tests_Admin_includesPlugin::test_get_dropins_empty
 Failed asserting that two arrays are equal.
 --- Expected
 +++ Actual
 @@ @@
  Array (
 +    'db.php' => Array (...)
  )
 }}}

 {{{
 2) Tests_Admin_includesPlugin::test_get_dropins_not_empty
 Failed asserting that two arrays are equal.
 --- Expected
 +++ Actual
 @@ @@
  Array (
      0 => 'advanced-cache.php'
 +    1 => 'db.php'
  )
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30860#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list