public function IPBanFunctionalTest::setUp in IP Ban 8
Same name in this branch
- 8 ip_ban.test \IPBanFunctionalTest::setUp()
- 8 src/Tests/IPBanFunctionalTest.php \Drupal\ip_ban\Tests\IPBanFunctionalTest::setUp()
Same name and namespace in other branches
- 7 ip_ban.test \IPBanFunctionalTest::setUp()
Implement setUp().
Overrides IPBanTestBase::setUp
File
- ./
ip_ban.test, line 196 - 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);
}