function SimpleTestDiscoveryTestCase::setUp
Overrides DrupalWebTestCase::setUp
File
-
modules/
simpletest/ simpletest.test, line 763
Class
- SimpleTestDiscoveryTestCase
- Verifies that tests in other installation profiles are not found.
Code
function setUp() {
parent::setUp(array(
'simpletest',
));
$this->admin_user = $this->drupalCreateUser(array(
'administer unit tests',
));
$this->drupalLogin($this->admin_user);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.