if (!
is_dir('public://simpletest'
) && !@
mkdir('public://simpletest', 0777, TRUE
) && !
is_dir('public://simpletest'
)) { throw new \
RuntimeException('Unable to create directory: public://simpletest'
);
} return $this;
} /**
* {@inheritdoc}
*/
public function discoverServiceProviders() { parent::
discoverServiceProviders();
// The test runner does not require an installed Drupal site to exist.
// Therefore, its environment is identical to that of the early installer.
$this->serviceProviderClasses
['app'
]['Test'
] = 'Drupal\Core\Installer\InstallerServiceProvider';
return $this->serviceProviderClasses;
}}