Skip to content
Snippets Groups Projects
Commit 7c3e637c authored by catch's avatar catch
Browse files

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
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
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