Changeset 55035 for trunk/tests/phpunit/tests/post/nav-menu.php
- Timestamp:
- 01/06/2023 10:34:00 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/post/nav-menu.php
r54410 r55035 299 299 wp_get_nav_menu_items( $this->menu_id ); 300 300 $queries_made = get_num_queries() - $start_num_queries; 301 $this->assertSame( 7, $queries_made, 'Only does 7database queries when running wp_get_nav_menu_items.' );301 $this->assertSame( 6, $queries_made, 'Only does 6 database queries when running wp_get_nav_menu_items.' ); 302 302 303 303 $args = $action->get_args(); … … 340 340 wp_get_nav_menu_items( $this->menu_id ); 341 341 $queries_made = get_num_queries() - $start_num_queries; 342 $this->assertSame( 7, $queries_made, 'Only does 7database queries when running wp_get_nav_menu_items.' );342 $this->assertSame( 6, $queries_made, 'Only does 6 database queries when running wp_get_nav_menu_items.' ); 343 343 344 344 $args = $action_terms->get_args();
Note: See TracChangeset
for help on using the changeset viewer.