1
0
Fork 0
mirror of synced 2024-06-15 17:24:48 +12:00

Seperated mocks from DB class

This commit is contained in:
eldadfux 2019-08-09 17:46:09 +03:00
parent 823a4ea3bd
commit 79230c4de6
3 changed files with 1431 additions and 1416 deletions

1420
app/config/collections.php Normal file

File diff suppressed because it is too large Load diff

View file

@ -165,6 +165,7 @@ stream_context_set_default([ // Set global user agent and http settings
$consoleDB = new Database();
$consoleDB->setAdapter(new RedisAdapter(new MySQLAdapter($register), $register));
$consoleDB->setNamespace('app_console'); // Should be replaced with param if we want to have parent projects
$consoleDB->setMocks(include __DIR__ . '/../app/config/collections.php');
Authorization::disable();

File diff suppressed because it is too large Load diff