MultilingualReviewPageTest.php

Same filename in this branch
  1. 9 core/modules/migrate_drupal_ui/tests/src/Functional/d7/MultilingualReviewPageTest.php
  2. 9 core/modules/aggregator/tests/src/Functional/migrate_drupal_ui/d6/MultilingualReviewPageTest.php
  3. 9 core/modules/aggregator/tests/src/Functional/migrate_drupal_ui/d7/MultilingualReviewPageTest.php
Same filename in other branches
  1. 8.9.x core/modules/migrate_drupal_ui/tests/src/Functional/d6/MultilingualReviewPageTest.php
  2. 8.9.x core/modules/migrate_drupal_ui/tests/src/Functional/d7/MultilingualReviewPageTest.php
  3. 10 core/modules/migrate_drupal_ui/tests/src/Functional/d6/MultilingualReviewPageTest.php
  4. 10 core/modules/migrate_drupal_ui/tests/src/Functional/d7/MultilingualReviewPageTest.php
  5. 11.x core/modules/migrate_drupal_ui/tests/src/Functional/d6/MultilingualReviewPageTest.php
  6. 11.x core/modules/migrate_drupal_ui/tests/src/Functional/d7/MultilingualReviewPageTest.php

Namespace

Drupal\Tests\migrate_drupal_ui\Functional\d6

File

core/modules/migrate_drupal_ui/tests/src/Functional/d6/MultilingualReviewPageTest.php

View source
<?php

namespace Drupal\Tests\migrate_drupal_ui\Functional\d6;

use Drupal\Tests\migrate_drupal_ui\Functional\MultilingualReviewPageTestBase;
// cspell:ignore multigroup nodeaccess

/**
 * Tests migrate upgrade review page for Drupal 6.
 *
 * Tests with translation modules enabled.
 *
 * @group migrate_drupal_6
 * @group migrate_drupal_ui
 */
class MultilingualReviewPageTest extends MultilingualReviewPageTestBase {
    
    /**
     * {@inheritdoc}
     */
    protected static $modules = [
        'datetime_range',
        'language',
        'content_translation',
        'config_translation',
        'telephone',
        'book',
        'forum',
        'statistics',
        'syslog',
        // @todo Remove tracker in https://www.drupal.org/project/drupal/issues/3261452
'tracker',
        'update',
        // Test migrations states.
'migrate_state_finished_test',
        'migrate_state_not_finished_test',
        // Test missing migrate_drupal.yml.
'migrate_state_no_upgrade_path',
    ];
    
    /**
     * {@inheritdoc}
     */
    protected function setUp() : void {
        parent::setUp();
        $this->loadFixture($this->getModulePath('migrate_drupal') . '/tests/fixtures/drupal6.php');
    }
    
    /**
     * {@inheritdoc}
     */
    protected function getSourceBasePath() {
        return __DIR__ . '/files';
    }
    
    /**
     * {@inheritdoc}
     */
    protected function getAvailablePaths() {
        return [
            'Block translation',
            'Blog',
            'Blog API',
            'Book',
            'CCK translation',
            'Calendar Signup',
            // @todo Remove Color in https://www.drupal.org/project/drupal/issues/3270899
'Color',
            'Comment',
            'Contact',
            'Content',
            'Content Copy',
            'Content Multigroup',
            'Content Permissions',
            'Content translation',
            'Content type translation',
            'Database logging',
            'Date',
            'Date API',
            'Date Locale',
            'Date PHP4',
            'Date Picker',
            'Date Popup',
            'Date Repeat API',
            'Date Timezone',
            'Date Tools',
            'Dynamic display block',
            'Email',
            'Event',
            'Fieldgroup',
            'FileField',
            'FileField Meta',
            'Filter',
            'Forum',
            'Help',
            'ImageAPI',
            'ImageAPI GD2',
            'ImageAPI ImageMagick',
            'ImageCache',
            'ImageCache UI',
            'ImageField',
            'Internationalization',
            'Link',
            'Locale',
            'Menu',
            'Menu translation',
            'Node',
            'Node Reference',
            'Node Reference URL Widget',
            'Nodeaccess',
            'Number',
            'OpenID',
            'PHP filter',
            'Path',
            'Phone - CCK',
            'Ping',
            'Poll',
            'Poll aggregate',
            'Profile',
            'Profile translation',
            'Search',
            'Statistics',
            'String translation',
            'Synchronize translations',
            'Syslog',
            'System',
            'Taxonomy translation',
            'Taxonomy',
            'Text',
            'Throttle',
            // @todo Remove Tracker in https://www.drupal.org/project/drupal/issues/3261452
'Tracker',
            'Trigger',
            'Update status',
            'Upload',
            'User',
            'User Reference',
            'Variable API',
            'Variable admin',
            'Views UI',
            'Views exporter',
            'jQuery UI',
        ];
    }
    
    /**
     * {@inheritdoc}
     */
    protected function getMissingPaths() {
        return [
            'Aggregator',
            // Block is set not_finished in migrate_state_not_finished_test.
'Block',
            'Devel',
            'Devel generate',
            'Devel node access',
            // Option Widgets is set not_finished in migrate_state_not_finished_test.
'Option Widgets',
            'Views',
            'Views translation',
            'migrate_status_active_test',
        ];
    }

}

Classes

Title Deprecated Summary
MultilingualReviewPageTest Tests migrate upgrade review page for Drupal 6.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.