Opened 11 years ago
Closed 11 years ago
#6080 closed defect (bug) (fixed)
Unit tests: fatal error if regular config is used
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| 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)
Change History (2)
Note: See
TracTickets for help on using
tickets.
In 9282: