diff --git a/tests/phpunit/tests/oembed/template.php b/tests/phpunit/tests/oembed/template.php index 9d210f96aaae8..03ef61b156df4 100644 --- a/tests/phpunit/tests/oembed/template.php +++ b/tests/phpunit/tests/oembed/template.php @@ -353,19 +353,6 @@ public function test_is_embeddable_post_non_existent_post() { $this->assertFalse( is_post_embeddable( 0 ) ); } - /** - * @ticket 35567 - */ - public function test_is_embeddable_post_non_existent_post_type() { - $post = self::factory()->post->create_and_get( - array( - 'post_type' => rand_str(), - ) - ); - - $this->assertFalse( is_post_embeddable( $post ) ); - } - /** * @ticket 35567 */