Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / core / modules / migrate_drupal_ui / tests / src / Functional / d7 / MigrateUpgrade7ReviewPageTest.php
1 <?php
2
3 namespace Drupal\Tests\migrate_drupal_ui\Functional\d7;
4
5 use Drupal\Tests\migrate_drupal_ui\Functional\MigrateUpgradeReviewPageTestBase;
6
7 /**
8  * Tests migrate upgrade review page for Drupal 7.
9  *
10  * @group migrate_drupal_7
11  * @group migrate_drupal_ui
12  */
13 class MigrateUpgrade7ReviewPageTest extends MigrateUpgradeReviewPageTestBase {
14
15   /**
16    * {@inheritdoc}
17    */
18   protected function setUp() {
19     parent::setUp();
20     $this->loadFixture(drupal_get_path('module', 'migrate_drupal') . '/tests/fixtures/drupal7.php');
21   }
22
23   /**
24    * {@inheritdoc}
25    */
26   protected function getSourceBasePath() {
27     return __DIR__ . '/files';
28   }
29
30   /**
31    * {@inheritdoc}
32    */
33   protected function getAvailablePaths() {
34     return [
35       'aggregator',
36       'block',
37       'comment',
38       'contact',
39       'date',
40       'dblog',
41       'email',
42       'field',
43       'field_sql_storage',
44       'file',
45       'filter',
46       'forum',
47       'image',
48       'language',
49       'link',
50       'list',
51       'locale',
52       'menu',
53       'node',
54       'number',
55       'options',
56       'path',
57       'phone',
58       'profile',
59       'search',
60       'shortcut',
61       'statistics',
62       'syslog',
63       'system',
64       'taxonomy',
65       'text',
66       'tracker',
67       'update',
68       'user',
69       // Include modules that do not have an upgrade path, defined in the
70       // $noUpgradePath property in MigrateUpgradeForm.
71       'blog',
72       'bulk_export',
73       'contextual',
74       'ctools',
75       'ctools_access_ruleset',
76       'ctools_ajax_sample',
77       'ctools_custom_content',
78       'dashboard',
79       'date_all_day',
80       'date_api',
81       'date_context',
82       'date_migrate',
83       'date_popup',
84       'date_repeat',
85       'date_repeat_field',
86       'date_tools',
87       'date_views',
88       'entity',
89       'entity_feature',
90       'entity_token',
91       'entityreference',
92       'field_ui',
93       'help',
94       'openid',
95       'overlay',
96       'page_manager',
97       'php',
98       'poll',
99       'search_embedded_form',
100       'search_extra_type',
101       'search_node_tags',
102       'simpletest',
103       'stylizer',
104       'term_depth',
105       'toolbar',
106       'translation',
107       'trigger',
108       'views_content',
109       'views_ui',
110     ];
111   }
112
113   /**
114    * {@inheritdoc}
115    */
116   protected function getMissingPaths() {
117     return [
118       'book',
119       'color',
120       'rdf',
121       'views',
122     ];
123   }
124
125 }