Skip to content

Commit a041725

Browse files
committed
Test Logger::log method with invalid value
1 parent 6925e1d commit a041725

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/TestCase.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,6 @@ public function testLogWithInteger() : void
190190
$this->expectExceptionMessage(
191191
'10 is not a valid backing value for enum Framework\Log\LogLevel'
192192
);
193-
$this->logger->setLevel(10);
193+
$this->logger->log(10, 'Foo bar');
194194
}
195195
}

0 commit comments

Comments
 (0)