Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- only in patch2:
- unchanged:
- --- a/core/modules/comment/src/Tests/Update/CommentUpdateTest.php
- +++ b/core/modules/comment/src/Tests/Update/CommentUpdateTest.php
- @@ -66,6 +66,9 @@ public function testPublishedEntityKey() {
- // Check that the entity key exists and it has the correct value.
- $entity_type = \Drupal::entityDefinitionUpdateManager()->getEntityType('comment');
- $this->assertEqual('status', $entity_type->getKey('published'));
- +
- + // Check that the {comment_field_data} table status index has been created.
- + $this->assertTrue(\Drupal::database()->schema()->indexExists('comment_field_data', 'comment__status_comment_type'));
- }
- }
Add Comment
Please, Sign In to add comment