function IPAddressBlockingTestCase::setUp
Implement setUp().
Overrides DrupalWebTestCase::setUp
File
-
modules/
system/ system.test, line 713
Class
Code
function setUp() {
parent::setUp();
// Create user.
$this->blocking_user = $this->drupalCreateUser(array(
'block IP addresses',
));
$this->drupalLogin($this->blocking_user);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.