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 / UpdateSchemaTest.php
index a42cbcb3c2ab68b85a196aa33bef9c8598cafdb8..1c2edee065df5391d1780783634fe08b83f3c044 100644 (file)
@@ -35,7 +35,7 @@ class UpdateSchemaTest extends BrowserTestBase {
   protected function setUp() {
     parent::setUp();
 
-    require_once \Drupal::root() . '/core/includes/update.inc';
+    require_once $this->root . '/core/includes/update.inc';
     $this->user = $this->drupalCreateUser(['administer software updates', 'access site in maintenance mode']);
     $this->updateUrl = Url::fromRoute('system.db_update');
   }