4) Adding Factories to other entrypoints
This commit is contained in:
parent
4af0119b73
commit
1e0e1674f2
20 changed files with 100 additions and 58 deletions
|
@ -36,7 +36,9 @@ abstract class DatabaseTest extends MockedTest
|
|||
$this->markTestSkipped('Please set the MYSQL_* environment variables to your test database credentials.');
|
||||
}
|
||||
|
||||
DBA::connect(getenv('MYSQL_HOST'),
|
||||
DBA::connect(
|
||||
__DIR__,
|
||||
getenv('MYSQL_HOST'),
|
||||
getenv('MYSQL_USERNAME'),
|
||||
getenv('MYSQL_PASSWORD'),
|
||||
getenv('MYSQL_DATABASE'));
|
||||
|
|
|
@ -10,8 +10,8 @@ use Friendica\Core\Config;
|
|||
use Friendica\Core\PConfig;
|
||||
use Friendica\Core\Protocol;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\Factory\LoggerFactory;
|
||||
use Friendica\Network\HTTPException;
|
||||
use Friendica\Util\LoggerFactory;
|
||||
use Monolog\Handler\TestHandler;
|
||||
|
||||
require_once __DIR__ . '/../../include/api.php';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue