Changeset 50284 for trunk/tests/phpunit/tests/rest-api/rest-server.php
- Timestamp:
- 02/10/2021 01:24:24 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api/rest-server.php
r50150 r50284 466 466 $response = rest_convert_error_to_response( $error ); 467 467 $this->assertSame( 400, $response->get_status() ); 468 $this->assert Equals( 'more_data', $response->get_data()['data'] );469 $this->assert Equals( array( array( 'status' => 400 ) ), $response->get_data()['additional_data'] );468 $this->assertSame( 'more_data', $response->get_data()['data'] ); 469 $this->assertSame( array( array( 'status' => 400 ) ), $response->get_data()['additional_data'] ); 470 470 } 471 471
Note: See TracChangeset
for help on using the changeset viewer.