Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / file / tests / src / Kernel / Migrate / d6 / FileMigrationTestTrait.php
index 0aa4e194eeccb4cd992a28b3016a4d9340adb96d..1fc8a52be0edf8f6749cd62eb88c9266959a418d 100644 (file)
@@ -30,7 +30,7 @@ trait FileMigrationTestTrait {
       // Make sure we have a single trailing slash.
       $source = $migration->getSourceConfiguration();
       $source['site_path'] = 'core/modules/simpletest';
-      $source['constants']['source_base_path'] = \Drupal::root() . '/';
+      $source['constants']['source_base_path'] = $this->root . '/';
       $migration->set('source', $source);
     }
   }