Mercurial > hg > isophonics-drupal-site
view core/modules/system/src/Tests/Database/DatabaseWebTestBase.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
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(); } }