[buddypress-trac] [BuddyPress] #4946: 'blogs' component not activated when running test suite

buddypress-trac noreply at wordpress.org
Mon Apr 22 20:48:02 UTC 2013


#4946: 'blogs' component not activated when running test suite
--------------------------+-----------------------------
 Reporter:  splatte       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Unit Tests    |    Version:  1.7
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 When running the BuddyPress test suite with my unit tests, I expected
 BuddyPress to emit "activity stream"-related actions/filters whenever I
 create new blogs/post via the respective factory methods, but no such
 actions were emitted. From debugging I can tell that other actions like
 "bp_loaded" were in fact emitted so BuddyPress is loading up in the test
 environment.

 On IRC, we tracked it down to the fact that the 'blogs' component is not
 enabled during setup of the test environment in tests/includes/install.php
 and concluded 'blogs' should be activated regardless of whether is
 multisite or not.

 I will attach a patch.

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


More information about the buddypress-trac mailing list