Commit 35a95015 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

(cherry picked from commit 93ce8469)
parent 1b81796a
Loading
Loading
Loading
Loading
Loading
+14 −6
Original line number Diff line number Diff line
@@ -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));