- 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-block-renderer-controller.php
r48937 r48939 597 597 $data = $response->get_data(); 598 598 599 $this->assert EqualSets( array( 'GET', 'POST' ), $data['endpoints'][0]['methods'] );600 $this->assert EqualSets(599 $this->assertSameSets( array( 'GET', 'POST' ), $data['endpoints'][0]['methods'] ); 600 $this->assertSameSets( 601 601 array( 'name', 'context', 'attributes', 'post_id' ), 602 602 array_keys( $data['endpoints'][0]['args'] )
Note: See TracChangeset
for help on using the changeset viewer.