1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-13 05:24:03 +00:00

Fix tests

This commit is contained in:
Samuel Štancl 2019-09-21 12:04:25 +02:00
parent 3cd97bdcab
commit cd53ff120d
4 changed files with 6 additions and 6 deletions

View file

@ -56,7 +56,7 @@ class Migrate extends MigrateCommand
// See Illuminate\Database\Migrations\DatabaseMigrationRepository::getConnection.
// Database connections are cached by Illuminate\Database\ConnectionResolver.
$this->input->setOption('database', 'tenant');
tenancy()->initialize($tenant); // todo2 test that this works with multiple tenants with MySQL
tenancy()->initialize($tenant); // todo3 test that this works with multiple tenants with MySQL
// Migrate
parent::handle();