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')