summaryrefslogtreecommitdiff
path: root/modules/simpletest/tests/upgrade/upgrade.node.test
diff options
context:
space:
mode:
authorwebchick <webchick@24967.no-reply.drupal.org>2011-05-13 11:30:57 -0400
committerwebchick <webchick@24967.no-reply.drupal.org>2011-05-13 11:30:57 -0400
commit78f5ec5472c5893a44ac9ffd6b03e8af9c8dff44 (patch)
tree5caa16b0b358be86604ded17a408b9484641e336 /modules/simpletest/tests/upgrade/upgrade.node.test
parentb1bd7f76152725a976059e27f5cf3ed8acb0a627 (diff)
downloadbrdo-78f5ec5472c5893a44ac9ffd6b03e8af9c8dff44.tar.gz
brdo-78f5ec5472c5893a44ac9ffd6b03e8af9c8dff44.tar.bz2
Hm. Rollback of previous patch. I think I just broke testbot. NOOB.
Diffstat (limited to 'modules/simpletest/tests/upgrade/upgrade.node.test')
-rw-r--r--modules/simpletest/tests/upgrade/upgrade.node.test64
1 files changed, 0 insertions, 64 deletions
diff --git a/modules/simpletest/tests/upgrade/upgrade.node.test b/modules/simpletest/tests/upgrade/upgrade.node.test
index 774ab58e1..163dbef5e 100644
--- a/modules/simpletest/tests/upgrade/upgrade.node.test
+++ b/modules/simpletest/tests/upgrade/upgrade.node.test
@@ -46,70 +46,6 @@ class NodeBodyUpgradePathTestCase extends UpgradePathTestCase {
}
/**
- * Upgrade test for node disabled node types.
- *
- * Load a filled installation of Drupal 6 and run the upgrade process on it.
- */
-class DisabledNodeTypeTestCase extends UpgradePathTestCase {
- public static function getInfo() {
- return array(
- 'name' => 'Disabled node type upgrade path',
- 'description' => 'Disabled node type upgrade path tests.',
- 'group' => 'Upgrade path',
- );
- }
-
- public function setUp() {
- // Path to the database dump.
- $this->databaseDumpFiles = array(
- drupal_get_path('module', 'simpletest') . '/tests/upgrade/drupal-6.filled.database.php',
- drupal_get_path('module', 'simpletest') . '/tests/upgrade/drupal-6.node_type_broken.database.php',
- );
- parent::setUp();
- }
-
- /**
- * Test a successful upgrade.
- */
- 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');
- }
-}
-
-/**
- * Upgrade test for node disabled node types.
- *
- * Load a filled installation of Drupal 6 and run the upgrade process on it.
- */
-class DisabledNodeTypeTestCase extends UpgradePathTestCase {
- public static function getInfo() {
- return array(
- 'name' => 'Disabled node type upgrade path',
- 'description' => 'Disabled node type upgrade path tests.',
- 'group' => 'Upgrade path',
- );
- }
-
- public function setUp() {
- // Path to the database dump.
- $this->databaseDumpFiles = array(
- drupal_get_path('module', 'simpletest') . '/tests/upgrade/drupal-6.filled.database.php',
- drupal_get_path('module', 'simpletest') . '/tests/upgrade/drupal-6.node_type_broken.database.php',
- );
- parent::setUp();
- }
-
- /**
- * Test a successful upgrade.
- */
- 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');
- }
-}
-
-/**
* Upgrade test for node type poll.
*
* Load a bare installation of Drupal 6 and run the upgrade process on it.