executeMigration('d6_comment_entity_form_display'); } /** * Tests comment variables migrated into an entity display. */ public function testCommentEntityFormDisplay() { foreach (['page', 'article', 'story'] as $type) { $component = EntityFormDisplay::load('node.' . $type . '.default') ->getComponent('comment'); $this->assertIdentical('comment_default', $component['type']); $this->assertIdentical(20, $component['weight']); } } }