protected function DatabaseTestBase::setUp in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/system/src/Tests/Database/DatabaseTestBase.php \Drupal\system\Tests\Database\DatabaseTestBase::setUp()
Performs setup tasks before each individual test method is run.
Overrides KernelTestBase::setUp
File
- core/
modules/ system/ src/ Tests/ Database/ DatabaseTestBase.php, line 22 - Contains \Drupal\system\Tests\Database\DatabaseTestBase.
Class
- DatabaseTestBase
- Base class for databases database tests.
Namespace
Drupal\system\Tests\DatabaseCode
protected function setUp() {
parent::setUp();
$this
->installSchema('database_test', array(
'test',
'test_people',
'test_people_copy',
'test_one_blob',
'test_two_blobs',
'test_task',
'test_null',
'test_serialized',
'test_special_columns',
'TEST_UPPERCASE',
));
self::addSampleData();
}