mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 12:54:05 +00:00
Add default value
This commit is contained in:
parent
fdcea15b6a
commit
88fbd9779d
2 changed files with 1 additions and 3 deletions
|
|
@ -14,7 +14,7 @@ class TenantFacade extends Facade
|
|||
return Tenant::class;
|
||||
}
|
||||
|
||||
public static function create($domains, array $data): Tenant
|
||||
public static function create($domains, array $data = []): Tenant
|
||||
{
|
||||
return Tenant::create($domains, $data);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -117,8 +117,6 @@ class CommandsTest extends TestCase
|
|||
->expectsOutput('xyz');
|
||||
}
|
||||
|
||||
// todo2 check that multiple tenants can be migrated at once using all database engines
|
||||
|
||||
/** @test */
|
||||
public function install_command_works()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue