protected function AgreementTestCase::privilegedUserLogin in Agreement 6.2
Same name and namespace in other branches
- 6 agreement.test \AgreementTestCase::privilegedUserLogin()
- 7.2 agreement.test \AgreementTestCase::privilegedUserLogin()
1 call to AgreementTestCase::privilegedUserLogin()
- AgreementTestCase::setUp in ./
agreement.test - Generates a random database prefix, runs the install scripts on the prefixed database and enable the specified modules. After installation many caches are flushed and the internal browser is setup so that the page requests will run on the new prefix.…
File
- ./
agreement.test, line 45 - Tests for Agreement module.
Class
- AgreementTestCase
- @file Tests for Agreement module.
Code
protected function privilegedUserLogin() {
// Create and log in our privileged user.
$this->privileged_user = $this
->drupalCreateUser(array(
'configure agreement settings',
));
$this
->drupalLogin($this->privileged_user);
}