protected $strictConfigSchema = FALSE;
/**
* Overrides BrowserTestBase::setUp() for update testing.
*
* The main difference in this method is that rather than performing the
* installation via the installer, a database is loaded. Additional work is
* then needed to set various things such as the config directories and the
* container that would normally be done via the installer.
*/
protected function setUp(): void
{ parent::
setUpAppRoot();
$this->zlibInstalled =
function_exists('gzopen'
);
$request = Request::
createFromGlobals();
// Boot up Drupal into a state where calling the database API is possible.
// This is used to initialize the database system, so we can load the dump
// files.
$autoloader =
require $this->root . '/autoload.php';
$kernel = TestRunnerKernel::
createFromRequest($request,
$autoloader);
$kernel->
loadLegacyIncludes();