Skip to content

Commit

Permalink
test(integration): Add debug message on refresh failing
Browse files Browse the repository at this point in the history
  • Loading branch information
julienloizelet committed Nov 5, 2024
1 parent 7b87317 commit ebc3fe3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Integration/CapiRemediationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public function testRefreshDecisions($requestHandler)
// Empty log file
file_put_contents($this->root->url() . '/' . $this->debugFile, '');
$result = $remediationEngine->refreshDecisions();
$this->assertTrue(in_array((int) $result['new'], [0, 1]));
$this->assertTrue(in_array((int) $result['new'], [0, 1]), 'New decision should be 0 or 1: ' . $result['new']);

PHPUnitUtil::assertRegExp(
$this,
Expand Down

0 comments on commit ebc3fe3

Please sign in to comment.