comparison core/modules/comment/tests/src/Functional/CommentTranslationUITest.php @ 4:a9cd425dd02b

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:11:55 +0000
parents c75dbcec494b
children 12f9dff5fda9
comparison
equal deleted inserted replaced
3:307d7a7fd348 4:a9cd425dd02b
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;