Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#30088 closed enhancement (fixed)

Improve tests for get_blog_id_from_url()

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

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 12 years ago.

Download all attachments as: .zip

Change History (2)

@jeremyfelt
12 years ago

#1 @jeremyfelt
12 years ago

  • Owner set to jeremyfelt
  • Resolutionfixed
  • Status newclosed

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.