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)
Change History (2)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 9282: