diff options
Diffstat (limited to 'modules/user')
-rw-r--r-- | modules/user/user.test | 2 |
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.")); |