Changeset 51462 for trunk/tests/phpunit/tests/post.php
- Timestamp:
- 07/19/2021 02:00:11 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/post.php
r51454 r51462 499 499 $post = get_post( $p ); 500 500 501 $this->assert Contains( 'wptests_pt=' . $p, $post->guid );501 $this->assertStringContainsString( 'wptests_pt=' . $p, $post->guid ); 502 502 } 503 503 … … 925 925 926 926 foreach ( $matches[1] as $url ) { 927 $this->assert Contains( 'tag_ID=' . $term->term_id, $url );928 $this->assert Contains( 'post_type=new_post_type', $url );927 $this->assertStringContainsString( 'tag_ID=' . $term->term_id, $url ); 928 $this->assertStringContainsString( 'post_type=new_post_type', $url ); 929 929 } 930 930 }
Note: See TracChangeset
for help on using the changeset viewer.