91657f742a067ef7a8d38b82dc9a5e80cb107191
[yaffs-website] / web / core / modules / migrate_drupal_ui / tests / src / Functional / d6 / MigrateUpgrade6ReviewPageTest.php
1 <?php
2
3 namespace Drupal\Tests\migrate_drupal_ui\Functional\d6;
4
5 use Drupal\Tests\migrate_drupal_ui\Functional\MigrateUpgradeReviewPageTestBase;
6
7 /**
8  * Tests migrate upgrade review page for Drupal 6.
9  *
10  * @group migrate_drupal_6
11  * @group migrate_drupal_ui
12  */
13 class MigrateUpgrade6ReviewPageTest extends MigrateUpgradeReviewPageTestBase {
14
15   /**
16    * {@inheritdoc}
17    */
18   public static $modules = [
19     'language',
20     'content_translation',
21     'config_translation',
22     'telephone',
23     'aggregator',
24     'book',
25     'forum',
26     'statistics',
27     'syslog',
28     'tracker',
29     'update',
30     // Required for translation migrations.
31     'migrate_drupal_multilingual',
32   ];
33
34   /**
35    * {@inheritdoc}
36    */
37   protected function setUp() {
38     parent::setUp();
39     $this->loadFixture(drupal_get_path('module', 'migrate_drupal') . '/tests/fixtures/drupal6.php');
40   }
41
42   /**
43    * {@inheritdoc}
44    */
45   protected function getSourceBasePath() {
46     return __DIR__ . '/files';
47   }
48
49   /**
50    * {@inheritdoc}
51    */
52   protected function getAvailablePaths() {
53     return [
54       'aggregator',
55       'block',
56       'book',
57       'comment',
58       'contact',
59       'content',
60       'date',
61       'dblog',
62       'email',
63       'filefield',
64       'filter',
65       'forum',
66       'i18n',
67       'i18nblocks',
68       'i18ncck',
69       'i18nmenu',
70       'i18nprofile',
71       'i18nstrings',
72       'i18ntaxonomy',
73       'imagecache',
74       'imagefield',
75       'language',
76       'link',
77       'locale',
78       'menu',
79       'node',
80       'nodereference',
81       'optionwidgets',
82       'path',
83       'profile',
84       'search',
85       'statistics',
86       'syslog',
87       'system',
88       'taxonomy',
89       'text',
90       'update',
91       'upload',
92       'user',
93       'userreference',
94       // Include modules that do not have an upgrade path, defined in the
95       // $noUpgradePath property in MigrateUpgradeForm.
96       'blog',
97       'blogapi',
98       'calendarsignup',
99       'color',
100       'content_copy',
101       'content_multigroup',
102       'content_permissions',
103       'date_api',
104       'date_locale',
105       'date_php4',
106       'date_popup',
107       'date_repeat',
108       'date_timezone',
109       'date_tools',
110       'datepicker',
111       'ddblock',
112       'event',
113       'fieldgroup',
114       'filefield_meta',
115       'help',
116       'imageapi',
117       'imageapi_gd',
118       'imageapi_imagemagick',
119       'imagecache_ui',
120       'jquery_ui',
121       'nodeaccess',
122       'number',
123       'openid',
124       'php',
125       'ping',
126       'poll',
127       'throttle',
128       'tracker',
129       'translation',
130       'trigger',
131       'variable',
132       'variable_admin',
133       'views_export',
134       'views_ui',
135     ];
136   }
137
138   /**
139    * {@inheritdoc}
140    */
141   protected function getMissingPaths() {
142     return [
143       'devel',
144       'devel_generate',
145       'devel_node_access',
146       'i18ncontent',
147       'i18npoll',
148       'i18nsync',
149       'i18nviews',
150       'phone',
151       'views',
152     ];
153   }
154
155 }