diff --git a/core/modules/comment/src/Tests/Update/CommentUpdateTest.php b/core/modules/comment/src/Tests/Update/CommentUpdateTest.php index bf4baff3ca..f4c9c7947e 100644 --- a/core/modules/comment/src/Tests/Update/CommentUpdateTest.php +++ b/core/modules/comment/src/Tests/Update/CommentUpdateTest.php @@ -81,7 +81,7 @@ public function testCommentEntityTypeRequired() { $this->assertEqual(2, Database::getConnection()->query('SELECT count(*) FROM {comment_field_data}')->fetchField()); if (Database::getConnection()->driver() === 'mysql') { $table_description = \Drupal::database() - ->query('DESCRIBE comment_field_data') + ->query('DESCRIBE {comment_field_data}') ->fetchAllAssoc('Field'); $this->assertEqual($table_description['entity_type']->Null, 'YES'); } @@ -91,7 +91,7 @@ public function testCommentEntityTypeRequired() { $this->assertEqual(2, Database::getConnection()->query('SELECT count(*) FROM {comment_field_data}')->fetchField()); if (Database::getConnection()->driver() === 'mysql') { $table_description = \Drupal::database() - ->query('DESCRIBE comment_field_data') + ->query('DESCRIBE {comment_field_data}') ->fetchAllAssoc('Field'); $this->assertEqual($table_description['entity_type']->Null, 'NO'); }