From 51118f3fb45149894213f5eae9554d1291c5f30d Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 18 Dec 2010 02:04:36 +0000 Subject: - Patch #996160 by yched, chx: issues with Fields created during 6 to 7 upgrade. --- modules/simpletest/tests/upgrade/upgrade.node.test | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules/simpletest') diff --git a/modules/simpletest/tests/upgrade/upgrade.node.test b/modules/simpletest/tests/upgrade/upgrade.node.test index 08617a956..d2366b7f7 100644 --- a/modules/simpletest/tests/upgrade/upgrade.node.test +++ b/modules/simpletest/tests/upgrade/upgrade.node.test @@ -39,6 +39,10 @@ class NodeBodyUpgradePathTestCase extends UpgradePathTestCase { $revision = db_query_range("SELECT r.nid, r.vid FROM {node_revision} r JOIN {node} n ON n.nid = r.nid WHERE n.status = 0 AND n.type <> 'poll' AND n.vid <> r.vid", 0, 1)->fetch(); $revision = node_load($revision->nid, $revision->vid); $this->assertTrue(!empty($revision->body), 'Unpublished non-current node revisions still have a node body.'); + + // Check that fields created during the upgrade can be edited and resaved + // in the UI. + $this->drupalPost('admin/structure/types/manage/story/fields/body', array(), t('Save settings')); } } -- cgit v1.2.3