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