Changeset 37914 for trunk/tests/phpunit/tests/admin/includesPost.php
- Timestamp:
- 06/29/2016 03:15:40 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/admin/includesPost.php
r36853 r37914 65 65 $this->assertInstanceOf( 'WP_Error', $_results ); 66 66 $this->assertEquals( 'edit_others_posts', $_results->get_error_code() ); 67 $this->assertEquals( ' You are not allowed to create posts as this user.', $_results->get_error_message() );67 $this->assertEquals( 'Sorry, you are not allowed to create posts as this user.', $_results->get_error_message() ); 68 68 69 69 // Edit Draft Post for another user … … 78 78 $this->assertInstanceOf( 'WP_Error', $_results ); 79 79 $this->assertEquals( 'edit_others_posts', $_results->get_error_code() ); 80 $this->assertEquals( ' You are not allowed to edit posts as this user.', $_results->get_error_message() );80 $this->assertEquals( 'Sorry, you are not allowed to edit posts as this user.', $_results->get_error_message() ); 81 81 } 82 82
Note: See TracChangeset
for help on using the changeset viewer.