[wp-trac] [WordPress Trac] #40724: Strict get_blog_count() unit test fails on some setups

WordPress Trac noreply at wordpress.org
Wed May 10 23:33:47 UTC 2017


#40724: Strict get_blog_count() unit test fails on some setups
--------------------------------+------------------------
 Reporter:  flixos90            |       Owner:  flixos90
     Type:  defect (bug)        |      Status:  reopened
 Priority:  normal              |   Milestone:  4.8
Component:  Networks and Sites  |     Version:
 Severity:  normal              |  Resolution:
 Keywords:  has-patch           |     Focuses:  multisite
--------------------------------+------------------------
Changes (by jorbin):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 It seems to me like it may make more sense to keep the `assertSame` and do
 the cast to int. The function is documented to return an integer, the
 expectation should be that it does.

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


More information about the wp-trac mailing list