Changeset 52010 for trunk/tests/phpunit/tests/post/formats.php
- Timestamp:
- 11/04/2021 03:22:47 PM (4 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/post/formats.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/post/formats.php
r51367 r52010 5 5 */ 6 6 class Tests_Post_Formats extends WP_UnitTestCase { 7 function test_set_get_post_format_for_post() {7 public function test_set_get_post_format_for_post() { 8 8 $post_id = self::factory()->post->create(); 9 9 … … 33 33 * @ticket 22473 34 34 */ 35 function test_set_get_post_format_for_page() {35 public function test_set_get_post_format_for_page() { 36 36 $post_id = self::factory()->post->create( array( 'post_type' => 'page' ) ); 37 37 … … 65 65 } 66 66 67 function test_has_format() {67 public function test_has_format() { 68 68 $post_id = self::factory()->post->create(); 69 69 … … 94 94 * @ticket 23570 95 95 */ 96 function test_get_url_in_content() {96 public function test_get_url_in_content() { 97 97 $link = 'http://nytimes.com'; 98 98 $commentary = 'This is my favorite link';
Note: See TracChangeset
for help on using the changeset viewer.