Posts, Post Types: Revert [46079] pending test failure investigation.

See #47824.

git-svn-id: https://develop.svn.wordpress.org/trunk@46080 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2019-09-07 19:32:42 +00:00
parent 69054687be
commit d48d56e101
2 changed files with 1 additions and 10 deletions

View File

@@ -75,13 +75,4 @@ class Tests_Post_GetTheContent extends WP_UnitTestCase {
$this->assertSame( 'Bang', $found );
}
/**
* @ticket 47824
*/
public function test_should_fall_back_to_post_global_outside_of_the_loop() {
$GLOBALS['post'] = self::factory()->post->create( array( 'post_content' => 'Foo' ) );
$this->assertSame( 'Foo', get_the_content() );
}
}