1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 01:34:03 +00:00

assert migration file exists

This commit is contained in:
Samuel Štancl 2019-08-16 13:04:21 +02:00
parent 0f43f552ba
commit 588ca0aa52

View file

@ -210,6 +210,7 @@ class Kernel extends HttpKernel
->expectsQuestion('Do you want to publish the default database migration?', 'yes');
$this->assertFileExists(base_path('routes/tenant.php'));
$this->assertFileExists(base_path('config/tenancy.php'));
$this->assertFileExists(database_path('migrations/2019_08_08_000000_create_tenants_table.php'));
$this->assertSame("<?php
namespace App\Http;