Changeset 54090 for trunk/tests/phpunit/tests/date/getTheModifiedDate.php
- Timestamp:
- 09/06/2022 10:09:49 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/date/getTheModifiedDate.php
r50291 r54090 21 21 'post_date_gmt' => '2016-01-21 15:34:36', 22 22 ); 23 $post_id = $this->factory->post->create( $details );23 $post_id = self::factory()->post->create( $details ); 24 24 $format = 'Y-m-d'; 25 25 $expected = '2016-01-21'; … … 40 40 'post_date_gmt' => '2016-01-21 15:34:36', 41 41 ); 42 $post_id = $this->factory->post->create( $details );42 $post_id = self::factory()->post->create( $details ); 43 43 $post = get_post( $post_id ); 44 44 … … 112 112 'post_date_gmt' => '2016-01-21 15:34:36', 113 113 ); 114 $post_id = $this->factory->post->create( $details );114 $post_id = self::factory()->post->create( $details ); 115 115 $format = 'G'; 116 116 $expected = 1453390476; … … 131 131 'post_date_gmt' => '2016-01-21 15:34:36', 132 132 ); 133 $post_id = $this->factory->post->create( $details );133 $post_id = self::factory()->post->create( $details ); 134 134 $post = get_post( $post_id ); 135 135
Note: See TracChangeset
for help on using the changeset viewer.