public function TagadelicTaxonomyAdminWebTestCase::testIsOnlyAccessibleForAdmin in Tagadelic 7.2
File
- tests/
tagadelic_taxonomy.admin.test, line 38
Class
Code
public function testIsOnlyAccessibleForAdmin() {
$web_user = $this
->drupalCreateUser(array(
'access content',
));
$this
->drupalLogin($web_user);
$this
->drupalGet($this->admin_url);
$this
->assertResponse(403);
}