Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
binaryk committed May 17, 2020
1 parent 93882af commit 8dfb455
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/Feature/Commands/TenantsArtisanCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 8dfb455

Please sign in to comment.