Skip to content
Snippets Groups Projects
Commit 93ce8469 authored by catch's avatar catch
Browse files

Issue #3405095 by quietone, borisson_: Use the testing profile for...

Issue #3405095 by quietone, borisson_: Use the testing profile for \Drupal\Tests\config\Functional\ConfigImportAllTest
parent b229d92c
No related branches found
No related tags found
No related merge requests found
......@@ -29,13 +29,21 @@ class ConfigImportAllTest extends ModuleTestBase {
protected $webUser;
/**
* The profile to install as a basis for testing.
* Modules to enable.
*
* Using the standard profile as this has a lot of additional configuration.
*
* @var string
* @var array
*/
protected static $modules = ['config'];
/**
* {@inheritdoc}
*/
protected $defaultTheme = 'stark';
/**
* {@inheritdoc}
*/
protected $profile = 'standard';
protected $profile = 'testing';
/**
* {@inheritdoc}
......@@ -100,7 +108,7 @@ public function testInstallUninstall() {
$all_modules = \Drupal::service('extension.list.module')->getList();
$database_module = \Drupal::service('database')->getProvider();
$expected_modules = ['path_alias', 'system', 'user', 'standard', $database_module];
$expected_modules = ['path_alias', 'system', 'user', 'testing', $database_module];
// Ensure that only core required modules and the install profile can not be uninstalled.
$validation_reasons = \Drupal::service('module_installer')->validateUninstall(array_keys($all_modules));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment