Skip to content

Commit

Permalink
Test Logger::log method with invalid value
Browse files Browse the repository at this point in the history
  • Loading branch information
natanfelles committed Mar 22, 2024
1 parent 6925e1d commit a041725
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,6 @@ public function testLogWithInteger() : void
$this->expectExceptionMessage(
'10 is not a valid backing value for enum Framework\Log\LogLevel'
);
$this->logger->setLevel(10);
$this->logger->log(10, 'Foo bar');
}
}

0 comments on commit a041725

Please sign in to comment.