* Tests the drupal_rewrite_settings() function.
*/
public function testDrupalRewriteSettings() {
- include_once \Drupal::root() . '/core/includes/install.inc';
+ include_once $this->root . '/core/includes/install.inc';
$site_path = $this->container->get('site.path');
$tests = [
[
'required' => TRUE,
],
],
- 'expected' => '$no_index = true;'
+ 'expected' => '$no_index = true;',
];
// Make an empty file.
$filename = Settings::get('file_public_path', $site_path . '/files') . '/mock_settings.php';