Newer
Older
<?php
namespace Drupal\Tests\migrate_drupal_ui\Functional\d6;
use Drupal\Tests\migrate_drupal_ui\Functional\MigrateUpgradeReviewPageTestBase;
/**
* Tests migrate upgrade review page for Drupal 6.
*
* @group migrate_drupal_6
* @group migrate_drupal_ui
*/
class MigrateUpgrade6ReviewPageTest extends MigrateUpgradeReviewPageTestBase {
Alex Pott
committed
/**
* {@inheritdoc}
*/
public static $modules = [
'language',
'content_translation',
'telephone',
'aggregator',
'book',
'forum',
'statistics',
'syslog',
'tracker',
'update',
];
/**
* {@inheritdoc}
*/
protected function setUp() {
parent::setUp();
$this->loadFixture(drupal_get_path('module', 'migrate_drupal') . '/tests/fixtures/drupal6.php');
}
/**
* {@inheritdoc}
*/
protected function getSourceBasePath() {
return __DIR__ . '/files';
}
/**
* {@inheritdoc}
*/
protected function getAvailablePaths() {
return [
'aggregator',
'block',
'book',
'comment',
'contact',
'content',
'date',
'dblog',
'email',
'filefield',
'filter',
'forum',
Gábor Hojtsy
committed
'i18nblocks',
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
'i18ntaxonomy',
'imagecache',
'imagefield',
'language',
'link',
'locale',
'menu',
'node',
'nodereference',
'optionwidgets',
'path',
'profile',
'search',
'statistics',
'syslog',
'system',
'taxonomy',
'text',
'update',
'upload',
'user',
'userreference',
// Include modules that do not have an upgrade path, defined in the
// $noUpgradePath property in MigrateUpgradeForm.
'blog',
'blogapi',
'calendarsignup',
'color',
'content_copy',
'content_multigroup',
'content_permissions',
'date_api',
'date_locale',
'date_php4',
'date_popup',
'date_repeat',
'date_timezone',
'date_tools',
'datepicker',
'ddblock',
'event',
'fieldgroup',
'filefield_meta',
'help',
'i18n',
'i18nmenu',
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
'i18nstrings',
'imageapi',
'imageapi_gd',
'imageapi_imagemagick',
'imagecache_ui',
'jquery_ui',
'nodeaccess',
'number',
'openid',
'php',
'ping',
'poll',
'throttle',
'tracker',
'translation',
'trigger',
'variable',
'variable_admin',
'views_export',
'views_ui',
];
}
/**
* {@inheritdoc}
*/
protected function getMissingPaths() {
return [
'devel',
'devel_generate',
'devel_node_access',
'i18ncck',
'i18ncontent',
'i18npoll',
'i18nprofile',
'i18nsync',
'i18nviews',
'phone',
'views',
];
}
}