mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-07 22:05:10 +02:00
Add testmode
This commit is contained in:
parent
6272b8d4e0
commit
434ce00d19
2 changed files with 10 additions and 0 deletions
|
@ -22,6 +22,7 @@
|
|||
namespace Friendica\Test;
|
||||
|
||||
use Friendica\Database\Database;
|
||||
use Friendica\Database\DBStructure;
|
||||
use Friendica\Test\Util\Database\StaticDatabase;
|
||||
|
||||
/**
|
||||
|
@ -37,6 +38,10 @@ trait DatabaseTestTrait
|
|||
// Start the first, outer transaction
|
||||
StaticDatabase::getGlobConnection()->beginTransaction();
|
||||
|
||||
$this->dba->setTestmode(true);
|
||||
|
||||
DBStructure::checkInitialValues();
|
||||
|
||||
parent::setUp();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue