Fix createClient() depreciation

This commit is contained in:
Yassine Guedidi
2023-12-24 20:37:54 +01:00
parent a351b0aada
commit babe87c33b
6 changed files with 22 additions and 12 deletions

View File

@ -76,7 +76,7 @@ class InstallCommandTest extends WallabagCoreTestCase
} else {
// Create a new client to avoid the error:
// Transaction commit failed because the transaction has been marked for rollback only.
$client = static::createClient();
$client = $this->getNewClient();
$this->resetDatabase($client);
}