public function DisabledNodeTypeTestCase::testDisabledNodeTypeUpgrade
Tests a successful upgrade.
Archivo
- drupal-7.x/
modules/ simpletest/ tests/ upgrade/ upgrade.node.test, line 79
Class
- DisabledNodeTypeTestCase
- Tests the upgrade path for node disabled node types.
Código
public function testDisabledNodeTypeUpgrade() {
$this->assertTrue($this->performUpgrade(), 'The upgrade was completed successfully.');
$this->assertTrue(field_info_instance('comment', 'comment_body', 'comment_node_broken'), 'Comment body field instance was created for comments attached to the disabled broken node type');
}