Changeset 9194 for trunk/tests/phpunit/testcases/blogs/activity.php
- Timestamp:
- 11/27/2014 05:13:29 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/blogs/activity.php
r9139 r9194 2 2 3 3 class BP_Tests_Blogs_Activity extends BP_UnitTestCase { 4 /** 5 * @group bp_blogs_register_activity_actions 6 * @group activity_tracking 7 */ 8 public function test_bp_blogs_loader_post_tracking_args_filter() { 9 $bp = buddypress(); 10 11 $expected = array( 'new_blog_post', 'new_blog_comment' ); 12 13 if ( is_multisite() ) { 14 $expected = array_merge( array( 'new_blog' ), $expected ); 15 } 16 17 $actions = bp_activity_get_actions(); 18 $actions = array_keys( (array) $actions->blogs ); 19 20 $this->assertEquals( $expected, $actions ); 21 } 22 4 23 /** 5 24 * @group activity_action
Note: See TracChangeset
for help on using the changeset viewer.