comparison core/modules/simpletest/src/InstallerTestBase.php @ 4:a9cd425dd02b

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:11:55 +0000
parents c75dbcec494b
children 12f9dff5fda9
comparison
equal deleted inserted replaced
3:307d7a7fd348 4:a9cd425dd02b
1 <?php 1 <?php
2 2
3 namespace Drupal\simpletest; 3 namespace Drupal\simpletest;
4
5 @trigger_error(__NAMESPACE__ . '\InstallerTestBase is deprecated in Drupal 8.6.0 and will be removed before Drupal 9.0.0. Instead, use \Drupal\FunctionalTests\Installer\InstallerTestBase, see https://www.drupal.org/node/2988752.', E_USER_DEPRECATED);
4 6
5 use Drupal\Core\DrupalKernel; 7 use Drupal\Core\DrupalKernel;
6 use Drupal\Core\Language\Language; 8 use Drupal\Core\Language\Language;
7 use Drupal\Core\Session\UserSession; 9 use Drupal\Core\Session\UserSession;
8 use Drupal\Core\Site\Settings; 10 use Drupal\Core\Site\Settings;
11 use Symfony\Component\HttpFoundation\Request; 13 use Symfony\Component\HttpFoundation\Request;
12 use Symfony\Component\HttpFoundation\RequestStack; 14 use Symfony\Component\HttpFoundation\RequestStack;
13 15
14 /** 16 /**
15 * Base class for testing the interactive installer. 17 * Base class for testing the interactive installer.
18 *
19 * @deprecated in Drupal 8.6.0 and will be removed before Drupal 9.0.0.
20 * Use \Drupal\FunctionalTests\Installer\InstallerTestBase. See
21 * https://www.drupal.org/node/2988752
16 */ 22 */
17 abstract class InstallerTestBase extends WebTestBase { 23 abstract class InstallerTestBase extends WebTestBase {
18 24
19 /** 25 /**
20 * Custom settings.php values to write for a test run. 26 * Custom settings.php values to write for a test run.