function PostgreSqlSequenceUpdateTest::runDbTasks
Same name in other branches
- 11.x core/modules/pgsql/tests/src/Functional/Database/PostgreSqlSequenceUpdateTest.php \Drupal\Tests\pgsql\Functional\Database\PostgreSqlSequenceUpdateTest::runDbTasks()
Overrides UpdatePathTestBase::runDbTasks
File
-
core/
modules/ pgsql/ tests/ src/ Functional/ Database/ PostgreSqlSequenceUpdateTest.php, line 32
Class
- PostgreSqlSequenceUpdateTest
- Tests that any unowned sequences created previously have a table owner.
Namespace
Drupal\Tests\pgsql\Functional\DatabaseCode
protected function runDbTasks() {
parent::runDbTasks();
$this->connection = Database::getConnection();
if ($this->connection
->driver() !== 'pgsql') {
$this->markTestSkipped('This test only works with the pgsql driver');
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.