Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / tests / Drupal / KernelTests / Core / Updater / UpdaterTest.php
index 9f26f4a454d2eb3cb52f927a01f80fbcb27fd5ed..be6029fe6733aa817591808df7096815c14082a0 100644 (file)
@@ -24,7 +24,7 @@ class UpdaterTest extends KernelTestBase {
   public function testGetProjectTitleWithChild() {
     // Get the project title from its directory. If it can't find the title
     // it will choose the first project title in the directory.
-    $directory = \Drupal::root() . '/core/modules/system/tests/modules/module_handler_test_multiple';
+    $directory = $this->root . '/core/modules/system/tests/modules/module_handler_test_multiple';
     $title = Updater::getProjectTitle($directory);
     $this->assertEqual('module handler test multiple', $title);
   }