public function KernelTestBaseTest::testBootKernel in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/KernelTests/KernelTestBaseTest.php \Drupal\KernelTests\KernelTestBaseTest::testBootKernel()
- 9 core/tests/Drupal/KernelTests/KernelTestBaseTest.php \Drupal\KernelTests\KernelTestBaseTest::testBootKernel()
@covers ::bootKernel
File
- core/
tests/ Drupal/ KernelTests/ KernelTestBaseTest.php, line 239
Class
- KernelTestBaseTest
- @coversDefaultClass \Drupal\KernelTests\KernelTestBase
Namespace
Drupal\KernelTestsCode
public function testBootKernel() {
$this
->assertNull($this->container
->get('request_stack')
->getParentRequest(), 'There should only be one request on the stack');
$this
->assertEquals('public', \Drupal::config('system.file')
->get('default_scheme'));
}