- 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-themes-controller.php
r49925 r50284 200 200 $response = rest_get_server()->dispatch( $request ); 201 201 202 $this->assert Equals( 200, $response->get_status() );202 $this->assertSame( 200, $response->get_status() ); 203 203 $data = $response->get_data(); 204 204 … … 238 238 $response = rest_get_server()->dispatch( $request ); 239 239 240 $this->assert Equals( 200, $response->get_status() );240 $this->assertSame( 200, $response->get_status() ); 241 241 $data = $response->get_data(); 242 242 … … 298 298 $this->assertErrorResponse( $error_code, $response, 403 ); 299 299 } else { 300 $this->assert Equals( 200, $response->get_status() );300 $this->assertSame( 200, $response->get_status() ); 301 301 } 302 302 } … … 1216 1216 $response = rest_get_server()->dispatch( $request ); 1217 1217 1218 $this->assert Equals( 200, $response->get_status() );1218 $this->assertSame( 200, $response->get_status() ); 1219 1219 $data = $response->get_data(); 1220 1220 $links = $response->get_links(); … … 1279 1279 $response = rest_get_server()->dispatch( $request ); 1280 1280 1281 $this->assert Equals( 200, $response->get_status() );1281 $this->assertSame( 200, $response->get_status() ); 1282 1282 } 1283 1283
Note: See TracChangeset
for help on using the changeset viewer.