NoMultilingualReviewPageTest.php

Same filename in this branch
  1. 11.x core/modules/forum/tests/src/Functional/migrate_drupal/d6/NoMultilingualReviewPageTest.php
  2. 11.x core/modules/forum/tests/src/Functional/migrate_drupal/d7/NoMultilingualReviewPageTest.php
  3. 11.x core/modules/migrate_drupal_ui/tests/src/Functional/d6/NoMultilingualReviewPageTest.php
  4. 11.x core/modules/statistics/tests/src/Functional/migrate_drupal/d6/NoMultilingualReviewPageTest.php
  5. 11.x core/modules/statistics/tests/src/Functional/migrate_drupal/d7/NoMultilingualReviewPageTest.php
Same filename in other branches
  1. 9 core/modules/rdf/tests/src/Functional/Migrate/NoMultilingualReviewPageTest.php
  2. 9 core/modules/migrate_drupal_ui/tests/src/Functional/d6/NoMultilingualReviewPageTest.php
  3. 9 core/modules/migrate_drupal_ui/tests/src/Functional/d7/NoMultilingualReviewPageTest.php
  4. 9 core/modules/aggregator/tests/src/Functional/migrate_drupal_ui/d6/NoMultilingualReviewPageTest.php
  5. 9 core/modules/aggregator/tests/src/Functional/migrate_drupal_ui/d7/NoMultilingualReviewPageTest.php
  6. 9 core/modules/color/tests/src/Functional/Migrate/NoMultilingualReviewPageTest.php
  7. 8.9.x core/modules/migrate_drupal_ui/tests/src/Functional/d6/NoMultilingualReviewPageTest.php
  8. 10 core/modules/forum/tests/src/Functional/migrate_drupal/d6/NoMultilingualReviewPageTest.php
  9. 10 core/modules/forum/tests/src/Functional/migrate_drupal/d7/NoMultilingualReviewPageTest.php
  10. 10 core/modules/migrate_drupal_ui/tests/src/Functional/d6/NoMultilingualReviewPageTest.php
  11. 10 core/modules/migrate_drupal_ui/tests/src/Functional/d7/NoMultilingualReviewPageTest.php
  12. 10 core/modules/statistics/tests/src/Functional/migrate_drupal/d6/NoMultilingualReviewPageTest.php
  13. 10 core/modules/statistics/tests/src/Functional/migrate_drupal/d7/NoMultilingualReviewPageTest.php

Namespace

Drupal\Tests\migrate_drupal_ui\Functional\d7

File

core/modules/migrate_drupal_ui/tests/src/Functional/d7/NoMultilingualReviewPageTest.php

View source
<?php

declare (strict_types=1);
namespace Drupal\Tests\migrate_drupal_ui\Functional\d7;

use Drupal\Tests\migrate_drupal_ui\Functional\NoMultilingualReviewPageTestBase;
// cspell:ignore Filefield Multiupload Imagefield rulesets

/**
 * Tests Drupal 7 upgrade without translations.
 *
 * The test method is provided by the MigrateUpgradeTestBase class.
 *
 * @group migrate_drupal_ui
 */
class NoMultilingualReviewPageTest extends NoMultilingualReviewPageTestBase {
    
    /**
     * {@inheritdoc}
     */
    protected static $modules = [
        'config_translation',
        'content_translation',
        'datetime_range',
        'file',
        'language',
        'migrate_drupal_ui',
        'telephone',
    ];
    
    /**
     * {@inheritdoc}
     */
    protected function setUp() : void {
        parent::setUp();
        $this->loadFixture($this->getModulePath('migrate_drupal') . '/tests/fixtures/drupal7.php');
    }
    
    /**
     * {@inheritdoc}
     */
    protected function getSourceBasePath() : string {
        return __DIR__ . '/files';
    }
    
    /**
     * {@inheritdoc}
     */
    protected function getAvailablePaths() : array {
        return [
            'Block',
            'Block languages',
            'Bulk Export',
            'Chaos Tools (CTools) AJAX Example',
            'Chaos tools',
            'Comment',
            'Contact',
            'Custom content panes',
            'Custom rulesets',
            'Dashboard',
            'Database logging',
            'Date',
            'Date All Day',
            'Date Context',
            'Date Migration',
            'Date Popup',
            'Date Repeat API',
            'Date Repeat Field',
            'Date Tools',
            'Date Views',
            'Email',
            'Entity Reference',
            'Entity Translation',
            'Entity feature module',
            'Entity tokens',
            'Field translation',
            'Field',
            'Field SQL storage',
            'File',
            'Filter',
            'Image',
            'Internationalization',
            'Link',
            'List',
            'Locale',
            'Menu',
            'Menu translation',
            'Multiupload Filefield Widget',
            'Multiupload Imagefield Widget',
            'Node',
            'Node Reference',
            'Number',
            'OpenID',
            'Options',
            'Overlay',
            'Page manager',
            'Path',
            'Phone',
            'Poll',
            'Profile',
            'Search',
            'Search embedded form',
            'Shortcut',
            'String translation',
            'Stylizer',
            'Synchronize translations',
            'System',
            'Taxonomy translation',
            'Taxonomy',
            'Telephone',
            'Term Depth access',
            'Test search node tags',
            'Test search type',
            'Text',
            'Title',
            'User',
            'User Reference',
            'Variable translation',
            'Views UI',
            'Views content panes',
            // Include modules that do not have an upgrade path and are enabled in the
            // source database.
'Blog',
            'Content translation',
            'Contextual links',
            'Date API',
            'Entity API',
            'Field UI',
            'Help',
            'PHP filter',
            'Testing',
            'Toolbar',
            'Trigger',
        ];
    }
    
    /**
     * {@inheritdoc}
     */
    protected function getIncompletePaths() : array {
        return [];
    }
    
    /**
     * {@inheritdoc}
     */
    protected function getMissingPaths() : array {
        return [
            'Aggregator',
            'Book',
            'Breakpoints',
            'Color',
            'Contact translation',
            'Entity Translation Menu',
            'Entity Translation Upgrade',
            'FlexSlider Picture',
            'Forum',
            'Multilingual content',
            'Multilingual forum',
            'Multilingual select',
            'Path translation',
            'Picture',
            'RDF',
            'References',
            'References UUID',
            'Statistics',
            'Translation redirect',
            'Translation sets',
            'User mail translation',
            'Variable',
            'Variable admin',
            'Variable realm',
            'Variable store',
            'Variable views',
            'Views',
            'migrate_status_active_test',
            // These modules are in the missing path list because they are installed
            // on the source site but they are not installed on the destination site.
'Syslog',
            'Tracker',
            'Update manager',
        ];
    }

}

Classes

Title Deprecated Summary
NoMultilingualReviewPageTest Tests Drupal 7 upgrade without translations.

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