Skip to content

Commit 0499e81

Browse files
committed
test: add markTestSkipped()
1 parent 2938cdf commit 0499e81

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/system/Database/Live/SQLite3/AlterTableTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,15 @@ protected function setUp(): void
4343
{
4444
parent::setUp();
4545

46+
if ($this->db->DBDriver !== 'SQLite3') {
47+
$this->markTestSkipped('This test is only for SQLite3.');
48+
}
49+
4650
$config = [
4751
'DBDriver' => 'SQLite3',
4852
'database' => ':memory:',
4953
'DBDebug' => true,
5054
];
51-
5255
$this->db = db_connect($config);
5356
$this->forge = Database::forge($config);
5457
$this->table = new Table($this->db, $this->forge);

0 commit comments

Comments
 (0)