Mercurial > hg > isophonics-drupal-site
view core/modules/system/src/Tests/Database/DatabaseWebTestBase.php @ 18:af1871eacc83
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:33:08 +0100 |
parents | 4c8ae668cc8c |
children |
line wrap: on
line source
<?php namespace Drupal\system\Tests\Database; @trigger_error(__NAMESPACE__ . '\DatabaseWebTestBase is deprecated in Drupal 8.4.0 and will be removed before Drupal 9.0.0. Instead, use \Drupal\Tests\system\Functional\Database\DatabaseTestBase', E_USER_DEPRECATED); use Drupal\KernelTests\Core\Database\DatabaseTestBase; use Drupal\simpletest\WebTestBase; /** * Base class for databases database tests. * * @deprecated in Drupal 8.4.0 and will be removed before Drupal 9.0.0. Instead * use \Drupal\Tests\system\Functional\Database\DatabaseTestBase. */ abstract class DatabaseWebTestBase extends WebTestBase { /** * Modules to enable. * * @var array */ public static $modules = ['database_test']; protected function setUp() { parent::setUp(); DatabaseTestBase::addSampleData(); } }