You appear to be a bot. Output may be restricted
Description
Usage
Tests_Admin_Includes_Post::test_post_exists_should_match_nonempty_title_content_and_date();
Parameters
Returns
void
Source
File name: wordpress-develop-tests/phpunit/tests/admin/includesPost.php
Lines:
1 to 15 of 15
public function test_post_exists_should_match_nonempty_title_content_and_date() { $title = 'Foo Bar'; $content = 'Foo Bar Baz'; $date = '2014-05-08 12:00:00'; $p = self::factory()->post->create( array( 'post_title' => $title, 'post_content' => $content, 'post_date' => $date, ) ); $this->assertSame( $p, post_exists( $title, $content, $date ) ); }