function NodeAccessTestCase::setUp
Overrides DrupalWebTestCase::setUp
File
-
modules/
node/ node.test, line 1028
Class
- NodeAccessTestCase
- Tests basic node_access functionality.
Code
function setUp() {
parent::setUp();
// Clear permissions for authenticated users.
db_delete('role_permission')->condition('rid', DRUPAL_AUTHENTICATED_RID)
->execute();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.