Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#29845 closed enhancement (fixed)

Add unit tests for get_blog_details()

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

Description

We exercise get_blog_details() a bit in our test_get_blog_details_blog_does_not_exist() tests, but don't address a few of the other possibilities.

Attaching a patch that tests requests by blog ID, array of blog ID, and array of domain and path.

Attachments (1)

29845.diff (3.9 KB) - added by jeremyfelt 9 years ago.

Download all attachments as: .zip

Change History (5)

@jeremyfelt
9 years ago

#1 @jeremyfelt
9 years ago

  • Owner set to jeremyfelt
  • Status changed from new to accepted

#2 @jeremyfelt
9 years ago

  • Component changed from Build/Test Tools to Networks and Sites

This ticket was mentioned in IRC in #wordpress-dev by jeremyfelt. View the logs.


9 years ago

#4 @SergeyBiryukov
9 years ago

  • Resolution set to fixed
  • Status changed from accepted to closed

In 29824:

Add unit tests for get_blog_details().

props jeremyfelt.
fixes #29845.

Note: See TracTickets for help on using tickets.