function KernelTestBaseTest::testSubsequentContainerIsolation
Same name and namespace in other branches
- 11.x core/tests/Drupal/KernelTests/KernelTestBaseTest.php \Drupal\KernelTests\KernelTestBaseTest::testSubsequentContainerIsolation()
- 10 core/tests/Drupal/KernelTests/KernelTestBaseTest.php \Drupal\KernelTests\KernelTestBaseTest::testSubsequentContainerIsolation()
- 9 core/tests/Drupal/KernelTests/KernelTestBaseTest.php \Drupal\KernelTests\KernelTestBaseTest::testSubsequentContainerIsolation()
- 8.9.x core/tests/Drupal/KernelTests/KernelTestBaseTest.php \Drupal\KernelTests\KernelTestBaseTest::testSubsequentContainerIsolation()
Tests whether the fixture can re-install modules and configuration.
Attributes
#[Depends('testContainerIsolation')]
File
-
core/
tests/ Drupal/ KernelTests/ KernelTestBaseTest.php, line 157
Class
Namespace
Drupal\KernelTestsCode
public function testSubsequentContainerIsolation() : void {
$this->enableModules([
'system',
'user',
]);
$this->assertNull($this->installConfig('user'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.