Test: Replace db with getDb method

Bug: T316841
Change-Id: Iaf32040979522f311289b4c2f5723cae9079e662
This commit is contained in:
Wandji69 2024-07-05 16:49:58 +01:00
parent e009d6f38c
commit 43d023a2be

View file

@ -19,8 +19,8 @@ class ThreadItemStoreTest extends IntegrationTestCase {
parent::setUp();
if (
$this->db->getType() === 'mysql' &&
strpos( $this->db->getSoftwareLink(), 'MySQL' ) &&
$this->getDb()->getType() === 'mysql' &&
strpos( $this->getDb()->getSoftwareLink(), 'MySQL' ) &&
!$this->getCliArg( 'use-normal-tables' )
) {
$this->markTestSkipped( 'Set PHPUNIT_USE_NORMAL_TABLES=1 env variable to run these tests, ' .