Update to Drupal 8.2.0. For more information, see https://www.drupal.org/project/drupal/releases/8.2.0
This commit is contained in:
parent
2f563ab520
commit
f1c8716f57
1732 changed files with 52334 additions and 11780 deletions
|
|
@ -111,7 +111,7 @@ abstract class CommentTestBase extends WebTestBase {
|
|||
$edit['comment_body[0][value]'] = $comment;
|
||||
|
||||
if ($entity !== NULL) {
|
||||
$field = FieldConfig::loadByName('node', $entity->bundle(), $field_name);
|
||||
$field = FieldConfig::loadByName($entity->getEntityTypeId(), $entity->bundle(), $field_name);
|
||||
}
|
||||
else {
|
||||
$field = FieldConfig::loadByName('node', 'article', $field_name);
|
||||
|
|
@ -120,7 +120,7 @@ abstract class CommentTestBase extends WebTestBase {
|
|||
|
||||
// Must get the page before we test for fields.
|
||||
if ($entity !== NULL) {
|
||||
$this->drupalGet('comment/reply/node/' . $entity->id() . '/' . $field_name);
|
||||
$this->drupalGet('comment/reply/' . $entity->getEntityTypeId() . '/' . $entity->id() . '/' . $field_name);
|
||||
}
|
||||
|
||||
// Determine the visibility of subject form field.
|
||||
|
|
|
|||
Reference in a new issue