Changeset 51367 for trunk/tests/phpunit/tests/ajax/CustomizeMenus.php
- Timestamp:
- 07/07/2021 10:32:56 AM (5 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/ajax/CustomizeMenus.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/ajax/CustomizeMenus.php
r49696 r51367 580 580 if ( isset( $post_args['search'] ) && 'test' === $post_args['search'] ) { 581 581 $this->assertTrue( $response['success'] ); 582 $this->assert Same( 6, count( $response['data']['items'] ));582 $this->assertCount( 6, $response['data']['items'] ); 583 583 $item_ids = wp_list_pluck( $response['data']['items'], 'id' ); 584 584 $this->assertContains( 'post-' . $included_auto_draft_post->ID, $item_ids );
Note: See TracChangeset
for help on using the changeset viewer.