Changeset 57244 for trunk/tests/phpunit/tests/ajax/wpAjaxInlineSave.php
- Timestamp:
- 01/06/2024 12:59:49 PM (14 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/ajax/wpAjaxInlineSave.php
r56802 r57244 111 111 $this->assertSame( 'draft', $post->post_status ); 112 112 113 $this->assert Equals( '0000-00-00 00:00:00', $post->post_date_gmt );113 $this->assertSame( '0000-00-00 00:00:00', $post->post_date_gmt ); 114 114 115 115 // Set up a request. … … 143 143 $post_date = sprintf( '%04d-%02d-%02d %02d:%02d:%02d', $_POST['aa'], $_POST['mm'], $_POST['jj'], $_POST['hh'], $_POST['mn'], $_POST['ss'] ); 144 144 145 $this->assert Equals( '0000-00-00 00:00:00', $post->post_date_gmt );145 $this->assertSame( '0000-00-00 00:00:00', $post->post_date_gmt ); 146 146 } 147 147 … … 168 168 $this->assertSame( 'draft', $post->post_status ); 169 169 170 $this->assert Equals( '0000-00-00 00:00:00', $post->post_date_gmt );170 $this->assertSame( '0000-00-00 00:00:00', $post->post_date_gmt ); 171 171 172 172 // Set up a request. … … 198 198 $post = get_post( $post->ID ); 199 199 200 $this->assert Equals( '2020-09-11 19:20:11', $post->post_date_gmt );200 $this->assertSame( '2020-09-11 19:20:11', $post->post_date_gmt ); 201 201 } 202 202 }
Note: See TracChangeset
for help on using the changeset viewer.