1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 11:14:03 +00:00
This commit is contained in:
Samuel Štancl 2019-02-26 21:22:30 +01:00
parent 1578a196c9
commit fa40abde19
4 changed files with 10 additions and 6 deletions

View file

@ -9,7 +9,7 @@ class CommandsTest extends TestCase
{
public $autoInitTenancy = false;
public function setUp()
public function setUp(): void
{
parent::setUp();
@ -30,6 +30,7 @@ class CommandsTest extends TestCase
/** @test */
public function migrate_command_works_without_options()
{
$this->assertFalse(Schema::hasTable('users'));
Artisan::call('tenants:migrate');
$this->assertFalse(Schema::hasTable('users'));
tenancy()->init();