[Wp-unit-tests] [WordPress Unit Tests] #36: Fix failed tests in WPTestPostMeta

WordPress Unit Tests noreply at wordpress.org
Thu Apr 12 19:26:11 UTC 2012


#36: Fix failed tests in WPTestPostMeta
--------------------------+--------------------------------
 Reporter:  kurtpayne     |      Owner:
     Type:  defect        |     Status:  new
 Priority:  major         |  Milestone:  Fix existing Tests
Component:  Capabilities  |    Version:
 Keywords:  meta          |
--------------------------+--------------------------------
 When using `get_post_meta()` with `$single = true` and multiple meta
 values for a given key, the return order is not enforced.

 This test adds keys in the order of "another value" then "someother value"
 and expects to get them back in that exact order, but core doesn't behave
 this way.

-- 
Ticket URL: <https://unit-test.trac.wordpress.org/ticket/36>
WordPress Unit Tests <https://unit-test.trac.wordpress.org>
My example project


More information about the wp-unit-tests mailing list