Skip to content

Commit

Permalink
Fix a formatting issue
Browse files Browse the repository at this point in the history
This is indented to match the rest of the code
  • Loading branch information
phily245 committed Aug 7, 2024
1 parent d53979a commit 2c05c9e
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions tests/Checks/EnvHealthCheckTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,15 @@ public function testShowsOkayIfAllRequiredEnvParamsArePresent(): void
putenv('MYSQL_HOST=here');
putenv('MYSQL_PASSWORD=here');

config(['healthcheck.required-env' => [
'REDIS_HOST',
'MYSQL_PASSWORD'
]]);
$status = (new EnvHealthCheck())->status();
config([
'healthcheck.required-env' => [
'REDIS_HOST',
'MYSQL_PASSWORD',
],
]);
$status = (new EnvHealthCheck())->status();

$this->assertTrue($status->isOkay());
$this->assertTrue($status->isOkay());
}

public function testShowsOkayIfRequiredEnvParamIsPresentButNull(): void
Expand Down

0 comments on commit 2c05c9e

Please sign in to comment.