Changeset 51571
- Timestamp:
- 08/07/2021 10:51:59 AM (4 years ago)
- Location:
- trunk/tests/phpunit/tests
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/comment/getPageOfComment.php
r50559 r51571 486 486 remove_filter( 'wp_get_current_commenter', array( $this, 'get_current_commenter' ) ); 487 487 488 $this->assertContains( $new_unapproved, wp_list_pluck( $comments, 'comment_ID' ) );488 $this->assertContains( (string) $new_unapproved, wp_list_pluck( $comments, 'comment_ID' ) ); 489 489 } 490 490 … … 543 543 ); 544 544 545 $this->assertContains( $new_unapproved, wp_list_pluck( $comments, 'comment_ID' ) );545 $this->assertContains( (string) $new_unapproved, wp_list_pluck( $comments, 'comment_ID' ) ); 546 546 547 547 wp_set_current_user( $current_user ); -
trunk/tests/phpunit/tests/rest-api/rest-post-meta-fields.php
r51568 r51571 892 892 $this->assertNotEmpty( $meta ); 893 893 $this->assertCount( 2, $meta ); 894 $this->assertContains( 2, $meta );895 $this->assertContains( 8, $meta );894 $this->assertContains( '2', $meta ); 895 $this->assertContains( '8', $meta ); 896 896 } 897 897 -
trunk/tests/phpunit/tests/rest-api/rest-term-meta-fields.php
r51568 r51571 839 839 $this->assertNotEmpty( $meta ); 840 840 $this->assertCount( 2, $meta ); 841 $this->assertContains( 2, $meta );842 $this->assertContains( 8, $meta );841 $this->assertContains( '2', $meta ); 842 $this->assertContains( '8', $meta ); 843 843 } 844 844
Note: See TracChangeset
for help on using the changeset viewer.