Skip to content

Commit

Permalink
Fix an error from an automated refactor
Browse files Browse the repository at this point in the history
It will always be 1 as it is 1 object, we neede the array from this
  • Loading branch information
phily245 committed Aug 8, 2024
1 parent a51e097 commit 0902aeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Facades/HealthCheckTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
}

0 comments on commit 0902aeb

Please sign in to comment.