From 8dfb455f83cea833dd1ee62af2c833462d99a9a5 Mon Sep 17 00:00:00 2001 From: Eduard Lupacescu Date: Sun, 17 May 2020 14:18:42 +0300 Subject: [PATCH] Test --- tests/Feature/Commands/TenantsArtisanCommandTest.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/Feature/Commands/TenantsArtisanCommandTest.php b/tests/Feature/Commands/TenantsArtisanCommandTest.php index a7d422e..1638ac5 100644 --- a/tests/Feature/Commands/TenantsArtisanCommandTest.php +++ b/tests/Feature/Commands/TenantsArtisanCommandTest.php @@ -35,7 +35,9 @@ public function setUp(): void /** @test */ public function it_can_migrate_all_tenant_databases() { - $this->artisan('tenants:artisan migrate')->assertExitCode(0); + $this->artisan('tenants:artisan migrate') + ->expectsQuestion('What tenant ID? Nothing for all tenants.', '') + ->assertExitCode(0); $this ->assertTenantDatabaseHasTable($this->tenant, 'migrations')