Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / tests / Drupal / KernelTests / Core / Site / SettingsRewriteTest.php
index ef593751bf2cbc28aa97fa370146260008b1ca07..05078711244ce1910a951cd31cfabac7baa3c518 100644 (file)
@@ -16,7 +16,7 @@ class SettingsRewriteTest extends KernelTestBase {
    * 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 = [
       [
@@ -111,7 +111,7 @@ EXPECTED
           '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';