From 588ca0aa52538586587406e495f490b21b59f75c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Fri, 16 Aug 2019 13:04:21 +0200 Subject: [PATCH] assert migration file exists --- tests/CommandsTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/CommandsTest.php b/tests/CommandsTest.php index df90a21b..6d2a8e41 100644 --- a/tests/CommandsTest.php +++ b/tests/CommandsTest.php @@ -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("