Changeset 50284 for trunk/tests/phpunit/tests/post/nav-menu.php
- Timestamp:
- 02/10/2021 01:24:24 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/post/nav-menu.php
r50014 r50284 1038 1038 ); 1039 1039 $post = get_post( $menu_item_id ); 1040 $this->assert Equals( get_date_from_gmt( $post_date_gmt ), $post->post_date );1040 $this->assertSame( get_date_from_gmt( $post_date_gmt ), $post->post_date ); 1041 1041 1042 1042 $menu_item_id = wp_update_nav_menu_item( … … 1052 1052 ); 1053 1053 $post = get_post( $menu_item_id ); 1054 $this->assert Equals( '1970-01-01 00:00:00', $post->post_date );1054 $this->assertSame( '1970-01-01 00:00:00', $post->post_date ); 1055 1055 1056 1056 $menu_item_id = wp_update_nav_menu_item( … … 1066 1066 ); 1067 1067 $post = get_post( $menu_item_id ); 1068 $this->assert Equals( $post_date, $post->post_date );1068 $this->assertSame( $post_date, $post->post_date ); 1069 1069 1070 1070 $menu_item_id = wp_update_nav_menu_item( … … 1081 1081 ); 1082 1082 $post = get_post( $menu_item_id ); 1083 $this->assert Equals( $post_date, $post->post_date );1083 $this->assertSame( $post_date, $post->post_date ); 1084 1084 1085 1085 $menu_item_id = wp_update_nav_menu_item( … … 1096 1096 ); 1097 1097 $post = get_post( $menu_item_id ); 1098 $this->assert Equals( $post_date, $post->post_date );1098 $this->assertSame( $post_date, $post->post_date ); 1099 1099 1100 1100 $menu_item_id = wp_update_nav_menu_item(
Note: See TracChangeset
for help on using the changeset viewer.