? 259368_2.patch
? 353580-1-axyjo.patch
? 353580-2-axyjo.patch
? node_access_17.patch
? node_access_18.patch
? node_access_tests_1.patch
? user_access_unexpect.patch
? modules/simpletest/tests/common.info
? modules/simpletest/tests/common.module
? modules/simpletest/tests/l_class_test.patch
? modules/upload/upload_12-24-08.patch
? sites/default/files
? sites/default/settings.php
Index: modules/user/user.test
===================================================================
RCS file: /cvs/drupal/drupal/modules/user/user.test,v
retrieving revision 1.24
diff -u -p -r1.24 user.test
--- modules/user/user.test	30 Dec 2008 16:43:20 -0000	1.24
+++ modules/user/user.test	2 Jan 2009 22:35:19 -0000
@@ -432,6 +432,13 @@ class UserPermissionsTestCase extends Dr
     $this->rid = array_pop($all_rids);
   }
 
+  function TestUserAccessStrange() {
+    // create a user without a permission
+    $no_access = $this->drupalCreateUser(array());
+
+    $this->assertFalse(user_access('access content', $no_access), "strange");
+  }
+
   /**
    * Change user permissions and check user_access().
    */
