function ConfigInstallProfileUnmetDependenciesTest::setUp
Same name in other branches
- 8.9.x core/modules/config/tests/src/Functional/ConfigInstallProfileUnmetDependenciesTest.php \Drupal\Tests\config\Functional\ConfigInstallProfileUnmetDependenciesTest::setUp()
Overrides InstallerTestBase::setUp
File
-
core/
modules/ config/ tests/ src/ Functional/ ConfigInstallProfileUnmetDependenciesTest.php, line 49
Class
- ConfigInstallProfileUnmetDependenciesTest
- Tests install profile config overrides can not add unmet dependencies.
Namespace
Drupal\Tests\config\FunctionalCode
protected function setUp() : void {
// During set up an UnmetDependenciesException should be thrown, which will
// be re-thrown by TestHttpClientMiddleware as a standard Exception.
try {
parent::setUp();
} catch (\Exception $exception) {
$this->expectedException = $exception;
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.