function WebTestBase::__construct
Constructor for \Drupal\simpletest\WebTestBase.
Overrides TestBase::__construct
1 call to WebTestBase::__construct()
- UpdatePathTestBase::__construct in core/
modules/ system/ src/ Tests/ Update/ UpdatePathTestBase.php - Constructs an UpdatePathTestCase object.
1 method overrides WebTestBase::__construct()
- UpdatePathTestBase::__construct in core/
modules/ system/ src/ Tests/ Update/ UpdatePathTestBase.php - Constructs an UpdatePathTestCase object.
File
-
core/
modules/ simpletest/ src/ WebTestBase.php, line 221
Class
- WebTestBase
- Test case for typical Drupal tests.
Namespace
Drupal\simpletestCode
public function __construct($test_id = NULL) {
parent::__construct($test_id);
$this->skipClasses[__CLASS__] = TRUE;
$this->classLoader = (require DRUPAL_ROOT . '/autoload.php');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.