<?php
namespace Drupal\Tests\file\Kernel\Migrate\d6;
+
use Drupal\migrate\Plugin\MigrationInterface;
/**
// 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);
}
}