DisabledNodeTypeTestCase::testDisabledNodeTypeUpgrade

7 upgrade.node.test public DisabledNodeTypeTestCase::testDisabledNodeTypeUpgrade()

Tests a successful upgrade.

File

modules/simpletest/tests/upgrade/upgrade.node.test, line 79

Code

public function testDisabledNodeTypeUpgrade() {
  $this->assertTrue($this->performUpgrade(), t('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');
}
Login or register to post comments