Commit 337a8731 authored by catch's avatar catch
Browse files

Issue #3267513 by quietone, andregp, danflanagan8: Handle migration tests for removing RDF

parent 1b0a476f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@
      "modules/media/tests/fixtures/oembed/*",
      "modules/migrate_drupal/tests/fixtures/drupal6.php",
      "modules/migrate_drupal/tests/fixtures/drupal7.php",
      "modules/rdf/tests/fixtures/drupal7.php",
      "modules/search/tests/UnicodeTest.txt",
      "modules/system/tests/logo.svgz",
      "node_modules/*",
+1 −0
Original line number Diff line number Diff line
@@ -65,6 +65,7 @@ class StateFileExistsTest extends MigrateDrupalTestBase {
    'node',
    'options',
    'path',
    // @todo Remove RDF in https://www.drupal.org/node/3267515
    'rdf',
    'responsive_image',
    'search',
+3 −1
Original line number Diff line number Diff line
@@ -53,6 +53,9 @@ protected function setUp(): void {
    $this->nodeStorage->delete($this->nodeStorage->loadMultiple());

    $this->loadFixture($this->getModulePath('migrate_drupal') . '/tests/fixtures/drupal6.php');

    // @todo Remove this in https://www.drupal.org/node/3267515
    \Drupal::service('module_installer')->uninstall(['rdf']);
  }

  /**
@@ -88,7 +91,6 @@ protected function getEntityCounts() {
      // The 'book' module provides the 'book' node type, and the migration
      // creates 12 node types.
      'node_type' => 14,
      'rdf_mapping' => 7,
      'search_page' => 2,
      'shortcut' => 2,
      'shortcut_set' => 1,
+4 −1
Original line number Diff line number Diff line
@@ -41,6 +41,9 @@ class MultilingualReviewPageTest extends MultilingualReviewPageTestBase {
  protected function setUp(): void {
    parent::setUp();
    $this->loadFixture($this->getModulePath('migrate_drupal') . '/tests/fixtures/drupal7.php');

    // @todo Remove this in https://www.drupal.org/node/3267515
    \Drupal::service('module_installer')->uninstall(['rdf']);
  }

  /**
@@ -114,7 +117,6 @@ protected function getAvailablePaths() {
      'Phone',
      'Poll',
      'Profile',
      'RDF',
      'Search',
      'Search embedded form',
      'Shortcut',
@@ -168,6 +170,7 @@ protected function getMissingPaths() {
      'Options',
      'Path translation',
      'Picture',
      'RDF',
      'References',
      'References UUID',
      'Translation redirect',
+4 −1
Original line number Diff line number Diff line
@@ -37,6 +37,9 @@ class NoMultilingualReviewPageTest extends NoMultilingualReviewPageTestBase {
  protected function setUp(): void {
    parent::setUp();
    $this->loadFixture($this->getModulePath('migrate_drupal') . '/tests/fixtures/drupal7.php');

    // @todo Remove this in https://www.drupal.org/node/3267515
    \Drupal::service('module_installer')->uninstall(['rdf']);
  }

  /**
@@ -105,7 +108,6 @@ protected function getAvailablePaths() {
      'Phone',
      'Poll',
      'Profile',
      'RDF',
      'Search',
      'Search embedded form',
      'Shortcut',
@@ -166,6 +168,7 @@ protected function getMissingPaths() {
      'Multilingual select',
      'Path translation',
      'Picture',
      'RDF',
      'References',
      'References UUID',
      'Translation redirect',
Loading