Changeset 11737 for trunk/tests/phpunit/testcases/activity/actions.php
- Timestamp:
- 11/03/2017 07:44:10 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/activity/actions.php
r11256 r11737 16 16 ) ); 17 17 18 $post_id = $this->factory->post->create( array(18 $post_id = self::factory()->post->create( array( 19 19 'post_status' => 'publish', 20 20 'post_type' => 'foo', … … 40 40 ) ); 41 41 42 $post_id = $this->factory->post->create( array(42 $post_id = self::factory()->post->create( array( 43 43 'post_status' => 'publish', 44 44 'post_type' => 'foo', … … 58 58 */ 59 59 public function test_bp_activity_catch_transition_post_type_status_publish_existing_post() { 60 $u = $this->factory->user->create();60 $u = self::factory()->user->create(); 61 61 62 62 $labels = array( … … 85 85 86 86 // Create the initial post. 87 $p = $this->factory->post->create( array(87 $p = self::factory()->post->create( array( 88 88 'post_author' => $u, 89 89 'post_type' => 'foo', … … 119 119 ) ); 120 120 121 $post_id = $this->factory->post->create( array(121 $post_id = self::factory()->post->create( array( 122 122 'post_status' => 'publish', 123 123 'post_type' => 'foo', … … 151 151 ) ); 152 152 153 $post_id = $this->factory->post->create( array(153 $post_id = self::factory()->post->create( array( 154 154 'post_status' => 'publish', 155 155 'post_type' => 'foo',
Note: See TracChangeset
for help on using the changeset viewer.