- Timestamp:
- 09/04/2020 07:01:00 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api/rest-posts-controller.php
r48937 r48939 276 276 $data = $response->get_data(); 277 277 $this->assertSame( 2, count( $data ) ); 278 $this->assert EqualSets( array( self::$editor_id, self::$author_id ), wp_list_pluck( $data, 'author' ) );278 $this->assertSameSets( array( self::$editor_id, self::$author_id ), wp_list_pluck( $data, 'author' ) ); 279 279 280 280 // Limit to editor.
Note: See TracChangeset
for help on using the changeset viewer.