function KernelTestBaseTest::testContainerIsolation

Tests whether the fixture allows us to install modules and configuration.

See also

::testSubsequentContainerIsolation()

File

core/tests/Drupal/KernelTests/KernelTestBaseTest.php, line 155

Class

KernelTestBaseTest
@coversDefaultClass \Drupal\KernelTests\KernelTestBase[[api-linebreak]]

Namespace

Drupal\KernelTests

Code

public function testContainerIsolation() {
  $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.