[wp-trac] [WordPress Trac] #31491: Enhance unit tests for persistent object caching

WordPress Trac noreply at wordpress.org
Fri Oct 2 05:05:28 UTC 2015


#31491: Enhance unit tests for persistent object caching
------------------------------+-----------------------
 Reporter:  ocean90           |       Owner:  ocean90
     Type:  enhancement       |      Status:  assigned
 Priority:  normal            |   Milestone:  4.4
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  needs-patch       |     Focuses:
------------------------------+-----------------------

Comment (by wonderboymusic):

 In [changeset:"34765"]:
 {{{
 #!CommitTicketReference repository="" revision="34765"
 Unit Tests: in `Tests_Cache::test_wp_cache_init()`, when
 `wp_using_ext_object_cache()`, just check that the global is an instance
 of `WP_Object_Cache`. External object cache instances of `WP_Object_Cache`
 will contain resources as props that will always have differing internal
 IDs, so strict comparison won't work.

 See #31491.
 }}}

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


More information about the wp-trac mailing list