Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / system / tests / src / Functional / Update / InvalidUpdateHookTest.php
index 44d4832dd2caec7a2770d9dc2a5d70f51c005b50..85d041e2a48f948ca902cd29d026ca8393ed608e 100644 (file)
@@ -35,7 +35,7 @@ class InvalidUpdateHookTest extends BrowserTestBase {
 
   protected function setUp() {
     parent::setUp();
-    require_once \Drupal::root() . '/core/includes/update.inc';
+    require_once $this->root . '/core/includes/update.inc';
 
     $this->updateUrl = $GLOBALS['base_url'] . '/update.php';
     $this->updateUser = $this->drupalCreateUser(['administer software updates']);