protected function SqlsrvTestBase::setup in Drupal driver for SQL Server and SQL Azure 4.2.x
Same name and namespace in other branches
- 4.1.x tests/src/Kernel/SqlsrvTestBase.php \Drupal\Tests\sqlsrv\Kernel\SqlsrvTestBase::setup()
Skip any kernel tests if not running on the correct database.
File
- tests/
src/ Kernel/ SqlsrvTestBase.php, line 25
Class
- SqlsrvTestBase
- Test aliases within GROUP BY and ORDER BY.
Namespace
Drupal\Tests\sqlsrv\KernelCode
protected function setup() {
parent::setup();
if (Database::getConnection()
->databaseType() !== 'sqlsrv') {
$this
->markTestSkipped("This test only runs for MS SQL Server");
}
}