Changeset 42343 for trunk/tests/phpunit/tests/comment/template.php
- Timestamp:
- 11/30/2017 11:09:33 PM (8 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/comment/template.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/comment/template.php
r37997 r42343 19 19 20 20 function test_get_comments_number_without_arg() { 21 $post_id = self::factory()->post->create();21 $post_id = self::factory()->post->create(); 22 22 $permalink = get_permalink( $post_id ); 23 23 $this->go_to( $permalink ); … … 35 35 */ 36 36 function test_get_comments_number_text_declension_with_default_args() { 37 $post_id = $this->factory->post->create();37 $post_id = $this->factory->post->create(); 38 38 $permalink = get_permalink( $post_id ); 39 39 $this->go_to( $permalink ); … … 58 58 */ 59 59 function test_get_comments_number_text_declension_with_custom_args( $number, $input, $output ) { 60 $post_id = $this->factory->post->create();60 $post_id = $this->factory->post->create(); 61 61 $permalink = get_permalink( $post_id ); 62 62 … … 110 110 2, 111 111 '2 Comments<span class="screen-reader-text"> on Hello % world!</span>', 112 '2 Comments<span class="screen-reader-text"> on Hello 2 world!</span>' // See #WP37103112 '2 Comments<span class="screen-reader-text"> on Hello 2 world!</span>', // See #WP37103 113 113 ), 114 114 array(
Note: See TracChangeset
for help on using the changeset viewer.