From 61035e444631b3f7573ffe2207c3f1d1e4268fbb Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Tue, 25 Aug 2009 02:48:16 +0000 Subject: #492186 by catch, mfb, BTMash, TheRec, and rainbreaw: Fixed bug causing authoring information to never be updated (with tests). --- modules/user/user.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/user/user.test') 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.")); -- cgit v1.2.3