Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / migrate_drupal / tests / src / Kernel / d7 / MigrateDrupal7TestBase.php
1 <?php
2
3 namespace Drupal\Tests\migrate_drupal\Kernel\d7;
4
5 use Drupal\Tests\migrate_drupal\Kernel\MigrateDrupalTestBase;
6
7 /**
8  * Base class for Drupal 7 migration tests.
9  */
10 abstract class MigrateDrupal7TestBase extends MigrateDrupalTestBase {
11
12   /**
13    * {@inheritdoc}
14    */
15   protected function setUp() {
16     parent::setUp();
17     $this->loadFixture($this->getFixtureFilePath());
18   }
19
20   /**
21    * Gets the path to the fixture file.
22    */
23   protected function getFixtureFilePath() {
24     return __DIR__ . '/../../../fixtures/drupal7.php';
25   }
26
27 }