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 / UpdatesWith7xTest.php
index 2452264e37a3a5b6222e82d2b322dfb541e4c758..4f536ea5aa4ff3208fc2d14940ba0e4888f8f475 100644 (file)
@@ -31,7 +31,7 @@ class UpdatesWith7xTest 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']);
   }