- Timestamp:
- 11/09/2020 03:43:14 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api/rest-comments-controller.php
r49303 r49547 1441 1441 $response = rest_get_server()->dispatch( $request ); 1442 1442 $this->assertSame( 201, $response->get_status() ); 1443 $this->assert Equals( '0', $response->get_data()['content']['raw'] );1443 $this->assertSame( '0', $response->get_data()['content']['raw'] ); 1444 1444 } 1445 1445 … … 1466 1466 $response = rest_get_server()->dispatch( $request ); 1467 1467 $this->assertSame( 201, $response->get_status() ); 1468 $this->assert Equals( '', $response->get_data()['content']['raw'] );1468 $this->assertSame( '', $response->get_data()['content']['raw'] ); 1469 1469 } 1470 1470 … … 3326 3326 3327 3327 if ( $comment->comment_post_ID ) { 3328 $this->assert Equals( rest_url( '/wp/v2/posts/' . $comment->comment_post_ID ), $links['up'][0]['href'] );3328 $this->assertSame( rest_url( '/wp/v2/posts/' . $comment->comment_post_ID ), $links['up'][0]['href'] ); 3329 3329 } 3330 3330
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)