public function TagadelicTaxonomyTestCase::testOnlyAccessContentAccessible in Tagadelic 7.2
File
- tests/
tagadelic_taxonomy.test, line 44
Class
Code
public function testOnlyAccessContentAccessible() {
# Remove access content permission from anonymous user.
# As per http://drupal.stackexchange.com/a/70478/787
user_role_revoke_permissions(1, array(
'access content',
));
$this
->drupalGet("tagadelic_taxonomy");
$this
->assertResponse(403);
}