[wp-trac] [WordPress Trac] #40725: Fix using incorrect network option name in unit tests.

WordPress Trac noreply at wordpress.org
Wed May 10 23:12:26 UTC 2017


#40725: Fix using incorrect network option name in unit tests.
--------------------------------+------------------------
 Reporter:  flixos90            |       Owner:  flixos90
     Type:  defect (bug)        |      Status:  closed
 Priority:  normal              |   Milestone:  4.8
Component:  Networks and Sites  |     Version:  trunk
 Severity:  normal              |  Resolution:  fixed
 Keywords:  has-patch           |     Focuses:  multisite
--------------------------------+------------------------
Changes (by flixos90):

 * owner:   => flixos90
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"40611"]:
 {{{
 #!CommitTicketReference repository="" revision="40611"
 Multisite: Fix usage of incorrect `site_count` network option name in unit
 tests.

 The unit tests introduced as part of [40486] used the wrong `site_count`
 network option name instead of `blog_count`. This did not cause actual
 issues in the tests, but deleting the option was supposed to verify that
 it is properly recreated afterwards. The usage of the wrong name made
 these tests less useful, so this changeset fixes it.

 Fixes #40725.
 }}}

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


More information about the wp-trac mailing list