diff --git a/tests/phpunit/tests/customize/nav-menus.php b/tests/phpunit/tests/customize/nav-menus.php index d85e75c8b8..0e0d304a85 100644 --- a/tests/phpunit/tests/customize/nav-menus.php +++ b/tests/phpunit/tests/customize/nav-menus.php @@ -426,10 +426,10 @@ class Test_WP_Customize_Nav_Menus extends WP_UnitTestCase { $menus = new WP_Customize_Nav_Menus( $this->wp_customize ); $expected = array( - array( 'title' => 'Post', 'type' => 'post_type', 'object' => 'post' ), - array( 'title' => 'Page', 'type' => 'post_type', 'object' => 'page' ), - array( 'title' => 'Category', 'type' => 'taxonomy', 'object' => 'category' ), - array( 'title' => 'Tag', 'type' => 'taxonomy', 'object' => 'post_tag' ), + array( 'title' => 'Posts', 'type' => 'post_type', 'object' => 'post' ), + array( 'title' => 'Pages', 'type' => 'post_type', 'object' => 'page' ), + array( 'title' => 'Categories', 'type' => 'taxonomy', 'object' => 'category' ), + array( 'title' => 'Tags', 'type' => 'taxonomy', 'object' => 'post_tag' ), ); if ( current_theme_supports( 'post-formats' ) ) { @@ -497,7 +497,7 @@ class Test_WP_Customize_Nav_Menus extends WP_UnitTestCase { if ( $post_types ) { foreach ( $post_types as $type ) { $this->assertContains( 'available-menu-items-post_type-' . esc_attr( $type->name ), $template ); - $this->assertRegExp( '#