Changeset 13155 for trunk/tests/phpunit/testcases/members/activity.php
- Timestamp:
- 11/20/2021 10:03:44 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/members/activity.php
r13154 r13155 101 101 $u = self::factory()->user->create(); 102 102 $a = self::factory()->activity->create( array( 103 'component' => 'members',103 'component' => buddypress()->members->id, 104 104 'type' => 'new_avatar', 105 105 'user_id' => $u, … … 109 109 110 110 $new_avatar_activities = bp_activity_get( array( 111 'user_id' => $u, 112 'component' => buddypress()->members->id, 113 'type' => 'new_avatar', 111 'filter' => array( 112 'object' => buddypress()->members->id, 113 'user_id' => $u, 114 'action' => 'new_avatar', 115 ), 114 116 'count_total' => 'count_query', 115 117 ) ); … … 129 131 130 132 $a = self::factory()->activity->create( array( 131 'component' => 'members',133 'component' => buddypress()->members->id, 132 134 'type' => 'new_avatar', 133 135 'user_id' => $u, … … 138 140 139 141 $new_avatar_activities = bp_activity_get( array( 140 'user_id' => $u, 141 'component' => buddypress()->members->id, 142 'type' => 'new_avatar', 142 'filter' => array( 143 'object' => buddypress()->members->id, 144 'user_id' => $u, 145 'action' => 'new_avatar', 146 ), 143 147 'count_total' => 'count_query', 144 148 ) );
Note: See TracChangeset
for help on using the changeset viewer.