Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#30088 closed enhancement (fixed)

Improve tests for get_blog_id_from_url()

Reported by: jeremyfelt's profile jeremyfelt Owned by: jeremyfelt's profile jeremyfelt
Milestone: 4.1 Priority: normal
Severity: normal Version:
Component: Networks and Sites Keywords: has-patch
Focuses: multisite Cc:

Description

There are a pieces that can be plugged into test_get_blog_id_from_url() that can expand coverage.

Attachments (1)

30088.diff (2.6 KB) - added by jeremyfelt 11 years ago.

Download all attachments as: .zip

Change History (2)

@jeremyfelt
11 years ago

#1 @jeremyfelt
11 years ago

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

In 30007:

Improve tests for get_blog_id_from_url()

Expand tests to cover additional cache and lookup scenarios. Explicitly test the reaction of get_blog_id_from_url() when $drop = false is passed to wpmu_delete_blog(). See #30080

Fixes #30088

Note: See TracTickets for help on using tickets.