Changeset 48937 for trunk/tests/phpunit/tests/ajax/EditComment.php
- Timestamp:
- 09/02/2020 12:35:36 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/ajax/EditComment.php
r48222 r48937 67 67 68 68 // Check the meta data. 69 $this->assert Equals( -1, (string) $xml->response[0]->edit_comment['position'] );70 $this->assert Equals( $comment->comment_ID, (string) $xml->response[0]->edit_comment['id'] );71 $this->assert Equals( 'edit-comment_' . $comment->comment_ID, (string) $xml->response['action'] );69 $this->assertSame( '-1', (string) $xml->response[0]->edit_comment['position'] ); 70 $this->assertSame( $comment->comment_ID, (string) $xml->response[0]->edit_comment['id'] ); 71 $this->assertSame( 'edit-comment_' . $comment->comment_ID, (string) $xml->response['action'] ); 72 72 73 73 // Check the payload. … … 115 115 116 116 // Check the meta data. 117 $this->assert Equals( -1, (string) $xml->response[0]->edit_comment['position'] );118 $this->assert Equals( $comment->comment_ID, (string) $xml->response[0]->edit_comment['id'] );119 $this->assert Equals( 'edit-comment_' . $comment->comment_ID, (string) $xml->response['action'] );117 $this->assertSame( '-1', (string) $xml->response[0]->edit_comment['position'] ); 118 $this->assertSame( $comment->comment_ID, (string) $xml->response[0]->edit_comment['id'] ); 119 $this->assertSame( 'edit-comment_' . $comment->comment_ID, (string) $xml->response['action'] ); 120 120 121 121 // Check the payload.
Note: See TracChangeset
for help on using the changeset viewer.