Skip to:
Content

BuddyPress.org

Opened 12 years ago

Closed 12 years ago

#6080 closed defect (bug) (fixed)

Unit tests: fatal error if regular config is used

Reported by: imath Owned by: imath
Priority: normal Milestone: 2.2
Component: Build/Test Tools Version:
Severity: normal Keywords: has-patch
Cc:

Description

since r9281, launching unit tests by simply using phpunit are failing because when not on multisite mode wp_get_sites() is not available.

see https://travis-ci.org/buddypress/BuddyPress/jobs/45057666

I suggest to do a is_multisite() check to avoid this issue.

Attachments (1)

6080.patch (644 bytes ) - added by imath 12 years ago.

Download all attachments as: .zip

Change History (2)

@imath
12 years ago

#1 @imath
12 years ago

  • Owner set to imath
  • Resolutionfixed
  • Status newclosed

In 9282:

Unit Tests: fix tests suite for non multisite mode

Fixes #6080

Note: See TracTickets for help on using tickets.