Skip to:
Content

BuddyPress.org

Opened 10 years ago

Closed 10 years ago

#6080 closed defect (bug) (fixed)

Unit tests: fatal error if regular config is used

Reported by: imath's profile imath Owned by: imath's profile imath
Milestone: 2.2 Priority: normal
Severity: normal Version:
Component: Build/Test Tools 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 10 years ago.

Download all attachments as: .zip

Change History (2)

@imath
10 years ago

#1 @imath
10 years ago

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

In 9282:

Unit Tests: fix tests suite for non multisite mode

Fixes #6080

Note: See TracTickets for help on using tickets.