comparison core/modules/comment/tests/src/Functional/CommentTranslationUITest.php @ 17:129ea1e6d783

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:21:36 +0000
parents 4c8ae668cc8c
children af1871eacc83
comparison
equal deleted inserted replaced
16:c2387f117808 17:129ea1e6d783
97 $field_name = 'comment'; 97 $field_name = 'comment';
98 } 98 }
99 $node = $this->drupalCreateNode([ 99 $node = $this->drupalCreateNode([
100 'type' => $node_type, 100 'type' => $node_type,
101 $field_name => [ 101 $field_name => [
102 ['status' => CommentItemInterface::OPEN] 102 ['status' => CommentItemInterface::OPEN],
103 ], 103 ],
104 ]); 104 ]);
105 $values['entity_id'] = $node->id(); 105 $values['entity_id'] = $node->id();
106 $values['entity_type'] = 'node'; 106 $values['entity_type'] = 'node';
107 $values['field_name'] = $field_name; 107 $values['field_name'] = $field_name;