You are here

public function IPBanFormTest::setUp in IP Ban 8

Same name in this branch
  1. 8 ip_ban.test \IPBanFormTest::setUp()
  2. 8 src/Tests/IPBanFormTest.php \Drupal\ip_ban\Tests\IPBanFormTest::setUp()
Same name and namespace in other branches
  1. 7 ip_ban.test \IPBanFormTest::setUp()

Implement setUp().

Overrides IPBanTestBase::setUp

File

./ip_ban.test, line 70
Tests for ip_ban.module.

Class

IPBanFormTest
Tests the IP Ban admin page form.

Code

public function setUp() {

  // Enable any modules required for the test.
  parent::setUp(array());
  $this
    ->drupalLogin($this->adminSitesUser);
}