forked from wallabag/wallabag
Fix createClient() depreciation
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
|
||||
@ -71,7 +71,7 @@ abstract class WallabagCoreTestCase extends WebTestCase
|
||||
* [Doctrine\DBAL\ConnectionException]
|
||||
* Transaction commit failed because the transaction has been marked for rollback only.
|
||||
*/
|
||||
$this->client = static::createClient();
|
||||
$this->client = $this->getNewClient();
|
||||
}
|
||||
|
||||
public function getEntityManager()
|
||||
|
||||
Reference in New Issue
Block a user