public function RerouteEmailContactTestCase::setUp in Reroute Email 7
Enable modules and create user with specific permissions.
Overrides RerouteEmailTestCase::setUp
File
- ./
reroute_email.test, line 166 - Test the Reroute Email module.
Class
- RerouteEmailContactTestCase
- Tests email rerouting for the site-wide Core Contact form.
Code
public function setUp() {
// Add more permissions to be able to manipulate the contact forms.
$this->permissions[] = 'administer contact forms';
$this->permissions[] = 'access site-wide contact form';
// Include Core Contact module.
parent::setUp('contact');
}