public function IPBanFunctionalTest::setUp in IP Ban 7
Same name and namespace in other branches
- 8 ip_ban.test \IPBanFunctionalTest::setUp()
Implement setUp().
Overrides IPBanTestBase::setUp
File
- ./
ip_ban.test, line 192 - Tests for ip_ban.module.
Class
- IPBanFunctionalTest
- Tests the complete ban and read only functionality of the IP Ban module.
Code
public function setUp() {
// Enable any modules required for the test.
parent::setUp(array(
'block',
));
$this
->drupalLogin($this->adminSitesUser);
module_disable(array(
'dashboard',
), TRUE);
}