diff --git a/src/SubscriptionServiceProvider.php b/src/SubscriptionServiceProvider.php index 286e864..62bdb50 100755 --- a/src/SubscriptionServiceProvider.php +++ b/src/SubscriptionServiceProvider.php @@ -27,11 +27,4 @@ public function configurePackage(Package $package): void ->askToStarRepoOnGitHub('laravelcm/laravel-subscriptions'); }); } - - public function bootingPackage(): void - { - if ($this->app->runningInConsole()) { - $this->loadMigrationsFrom(__DIR__.'/../database/migrations'); - } - } } diff --git a/tests/src/TestCase.php b/tests/src/TestCase.php index 250d35e..47168d1 100644 --- a/tests/src/TestCase.php +++ b/tests/src/TestCase.php @@ -23,6 +23,7 @@ protected function getPackageProviders($app): array protected function defineDatabaseMigrations(): void { $this->loadLaravelMigrations(); + $this->loadMigrationsFrom(__DIR__.'/../../database/migrations'); } protected function getEnvironmentSetUp($app): void