Skip to content

Commit 8f80875

Browse files
committed
test: fix Session tests execution in random order
1 parent ad8526f commit 8f80875

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/system/Session/Handlers/Database/AbstractHandlerTestCase.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ abstract class AbstractHandlerTestCase extends CIUnitTestCase
3737

3838
protected function setUp(): void
3939
{
40-
parent::setUp();
41-
4240
if (! in_array(config(DatabaseConfig::class)->tests['DBDriver'], ['MySQLi', 'Postgre'], true)) {
4341
$this->markTestSkipped('Database Session Handler requires database driver to be MySQLi or Postgre');
4442
}
43+
44+
parent::setUp();
4545
}
4646

4747
/**

0 commit comments

Comments
 (0)