[wp-trac] [WordPress Trac] #27741: Broken Tests_User_Query::test_prepare_query() in Multisite

WordPress Trac noreply at wordpress.org
Wed Apr 9 19:28:00 UTC 2014


#27741: Broken Tests_User_Query::test_prepare_query() in Multisite
--------------------------+--------------------------
 Reporter:  bpetty        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  low           |  Milestone:  3.9
Component:  Query         |    Version:  trunk
 Severity:  minor         |   Keywords:  dev-feedback
  Focuses:  multisite     |
--------------------------+--------------------------
 There was a fix for #21119 applied a couple months ago that added
 additional unit tests which do pass in single-site test runs, but fail
 under multisite (and have since the test was added two months ago):

 {{{
 1) Tests_User_Query::test_prepare_query
 Failed asserting that two arrays are equal.
 --- Expected
 +++ Actual
 @@ @@
          0 => Array (...)
 +        1 => Array (...)
      )
  )

 /vagrant/wordpress/tests/phpunit/tests/user/query.php:135
 }}}

 I'm opening up a new ticket for this since a patch was already applied to
 the 3.9 branch, and given it's been in there for a couple months, it's
 likely just fine, and this can wait for a future release.

 However, I would at least like the initial patch attached here applied
 immediately so this test is skipped for the 3.9 release for now, with this
 ticket being used for tracking it as a known issue beyond that. Feel free
 to punt this to Future Release when this is done.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27741>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list