Skip to content

Commit

Permalink
Fixed pest test
Browse files Browse the repository at this point in the history
  • Loading branch information
jhhazelaar committed Nov 1, 2023
1 parent ab6bb01 commit 166ecde
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
use Concept7\HealthChecks\HealthChecksServiceProvider;
use Illuminate\Database\Eloquent\Factories\Factory;
use Orchestra\Testbench\TestCase as Orchestra;
use Spatie\Health\HealthServiceProvider;

class TestCase extends Orchestra
{
Expand All @@ -20,17 +21,12 @@ protected function setUp(): void
protected function getPackageProviders($app)
{
return [
HealthServiceProvider::class,
HealthChecksServiceProvider::class,
];
}

public function getEnvironmentSetUp($app)
{
config()->set('database.default', 'testing');

/*
$migration = include __DIR__.'/../database/migrations/create_health-checks_table.php.stub';
$migration->up();
*/
}
}

0 comments on commit 166ecde

Please sign in to comment.