WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

#36552 closed defect (bug) (fixed)

Network options tests that do not involve multiple networks should run as single site

Reported by: jeremyfelt Owned by: jeremyfelt
Milestone: 4.6 Priority: normal
Severity: normal Version: 4.4
Component: Options, Meta APIs Keywords:
Focuses: multisite Cc:

Description

We currently only run tests/option/networkOption.php when is_multisite(), but we should be testing some of these in single site.

Change History (1)

#1 @jeremyfelt
3 years ago

  • Owner set to jeremyfelt
  • Resolution set to fixed
  • Status changed from new to closed

In 37222:

Tests: Run network option tests as single and multisite

The _network_option() functions are available to all and
internally use _option() functions as a fallback. We should
be testing for that scenario as well.

Fixes #36552.

Note: See TracTickets for help on using tickets.