Skip to content

Commit

Permalink
Added missing parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
tuutti committed Oct 31, 2023
1 parent e024cdc commit 8abdb66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/Kernel/TestLoggerTraitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function testDoesNotExpectLogEntry() : void {
*/
public function testWatchdogException() : void {
$this->expectLogMessage('Test message', \InvalidArgumentException::class);
Error::logException(new \InvalidArgumentException('Test message'));
Error::logException($this->testLogger, new \InvalidArgumentException('Test message'));
}

}

0 comments on commit 8abdb66

Please sign in to comment.