diff --git a/tests/Facades/HealthCheckTest.php b/tests/Facades/HealthCheckTest.php index 46eb7c7..b078d38 100644 --- a/tests/Facades/HealthCheckTest.php +++ b/tests/Facades/HealthCheckTest.php @@ -13,6 +13,6 @@ public function testCanUseAppHealthFromFacade(): void $this->app->register(HealthCheckServiceProvider::class); config(['healthcheck.checks' => [\UKFast\HealthCheck\Checks\EnvHealthCheck::class]]); - $this->assertCount(1, HealthCheck::all()); + $this->assertCount(1, HealthCheck::all()->toArray()); } }