From 88fbd9779d9aae35a1cebf7ef0ee0197074cfa6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Sat, 21 Sep 2019 20:44:58 +0200 Subject: [PATCH] Add default value --- src/Facades/TenantFacade.php | 2 +- tests/CommandsTest.php | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Facades/TenantFacade.php b/src/Facades/TenantFacade.php index 06f783d4..e319cb8c 100644 --- a/src/Facades/TenantFacade.php +++ b/src/Facades/TenantFacade.php @@ -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); } diff --git a/tests/CommandsTest.php b/tests/CommandsTest.php index 97e840ca..ae35888d 100644 --- a/tests/CommandsTest.php +++ b/tests/CommandsTest.php @@ -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() {