- Timestamp:
- 01/17/2020 02:02:41 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api/rest-posts-controller.php
r47037 r47080 4617 4617 wp_set_current_user( self::$superadmin_id ); 4618 4618 4619 $time = date( 'Y-m-d H:i:s' );4619 $time = gmdate( 'Y-m-d H:i:s' ); 4620 4620 4621 4621 $post = self::factory()->post->create_and_get( … … 4652 4652 wp_set_current_user( self::$superadmin_id ); 4653 4653 4654 $time = date( 'Y-m-d H:i:s' );4655 $new_time = date( 'Y-m-d H:i:s', strtotime( '+1 week' ) );4654 $time = gmdate( 'Y-m-d H:i:s' ); 4655 $new_time = gmdate( 'Y-m-d H:i:s', strtotime( '+1 week' ) ); 4656 4656 4657 4657 $post = self::factory()->post->create_and_get( … … 4694 4694 wp_set_current_user( self::$superadmin_id ); 4695 4695 4696 $time = date( 'Y-m-d H:i:s' );4696 $time = gmdate( 'Y-m-d H:i:s' ); 4697 4697 4698 4698 $post = self::factory()->post->create_and_get(
Note: See TracChangeset
for help on using the changeset viewer.