Commit 7c3e637c authored by catch's avatar catch

Issue #2260321 by sun: Use Testing profile instead of Minimal profile in...

Issue #2260321 by sun: Use Testing profile instead of Minimal profile in interactive installer tests by default.
parent c024e97b
......@@ -32,13 +32,9 @@ public function buildForm(array $form, array &$form_state, $install_state = NULL
foreach ($install_state['profiles'] as $profile) {
/** @var $profile \Drupal\Core\Extension\Extension */
$details = install_profile_info($profile->getName());
// Skip this extension if its type is not profile.
if (!isset($details['type']) || $details['type'] != 'profile') {
continue;
}
// Don't show hidden profiles. This is used by to hide the testing profile,
// which only exists to speed up test runs.
if ($details['hidden'] === TRUE) {
if ($details['hidden'] === TRUE && !drupal_valid_test_ua()) {
continue;
}
$profiles[$profile->getName()] = $details;
......
......@@ -35,7 +35,7 @@ abstract class InstallerTestBase extends WebTestBase {
*
* @var string
*/
protected $profile = 'minimal';
protected $profile = 'testing';
/**
* Additional parameters to use for installer screens.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment