summaryrefslogtreecommitdiff
path: root/modules/user/user.test
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-08-25 02:48:16 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-08-25 02:48:16 +0000
commit61035e444631b3f7573ffe2207c3f1d1e4268fbb (patch)
treec9f8c11c9f9036bc0e6de85fa87d61b51d90b682 /modules/user/user.test
parent4d85fb1f565fd783e9fa6f6e77d4b24503cd449e (diff)
downloadbrdo-61035e444631b3f7573ffe2207c3f1d1e4268fbb.tar.gz
brdo-61035e444631b3f7573ffe2207c3f1d1e4268fbb.tar.bz2
#492186 by catch, mfb, BTMash, TheRec, and rainbreaw: Fixed bug causing authoring information to never be updated (with tests).
Diffstat (limited to 'modules/user/user.test')
-rw-r--r--modules/user/user.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user/user.test b/modules/user/user.test
index 153bd30a0..343e0cbc5 100644
--- a/modules/user/user.test
+++ b/modules/user/user.test
@@ -479,7 +479,7 @@ class UserCancelTestCase extends DrupalWebTestCase {
$test_node = node_load($node->nid, NULL, TRUE);
$this->assertTrue(($test_node->uid == 0 && $test_node->status == 1), t('Node of the user has been attributed to anonymous user.'));
$test_node = node_load($revision_node->nid, $revision, TRUE);
- $this->assertTrue(($test_node->uid == 0 && $test_node->status == 1), t('Node revision of the user has been attributed to anonymous user.'));
+ $this->assertTrue(($test_node->revision_uid == 0 && $test_node->status == 1), t('Node revision of the user has been attributed to anonymous user.'));
$test_node = node_load($revision_node->nid, NULL, TRUE);
$this->assertTrue(($test_node->uid != 0 && $test_node->status == 1), t("Current revision of the user's node was not attributed to anonymous user."));