[buddypress-trac] [BuddyPress Trac] #6080: Unit tests: fatal error if regular config is used

buddypress-trac noreply at wordpress.org
Thu Dec 25 01:18:53 UTC 2014


#6080: Unit tests: fatal error if regular config is used
--------------------------+-----------------------
 Reporter:  imath         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  2.2
Component:  Unit Tests    |    Version:
 Severity:  normal        |   Keywords:  has-patch
--------------------------+-----------------------
 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.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6080>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list