mirror of
https://github.com/friendica/friendica
synced 2025-04-27 14:30:11 +00:00
Activate test mode for database
This commit is contained in:
parent
8ca0186409
commit
d71c3e0812
3 changed files with 14 additions and 1 deletions
|
@ -71,6 +71,8 @@ class ApiTest extends DatabaseTest
|
|||
/** @var Database $dba */
|
||||
$dba = $this->dice->create(Database::class);
|
||||
|
||||
$dba->setTestmode(true);
|
||||
|
||||
/** @var IConfig $config */
|
||||
$this->config = $this->dice->create(IConfig::class);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue