Changeset 47122 for trunk/tests/phpunit/tests/post/formats.php
- Timestamp:
- 01/29/2020 12:43:23 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/post/formats.php
r46586 r47122 88 88 $this->assertFalse( has_post_format( 'standard', $post_id ) ); 89 89 90 // Dummy format type 90 // Dummy format type. 91 91 $this->assertFalse( has_post_format( 'dummy', $post_id ) ); 92 92 93 // Dummy post id93 // Dummy post ID. 94 94 $this->assertFalse( has_post_format( 'aside', 12345 ) ); 95 95 } … … 134 134 $this->assertEquals( false, $content_link ); 135 135 136 // Now with an href 136 // Now with an href. 137 137 $href_post_id = self::factory()->post->create( array( 'post_content' => $href ) ); 138 138 $content_link = get_url_in_content( get_post_field( 'post_content', $href_post_id ) );
Note: See TracChangeset
for help on using the changeset viewer.