Verified Commit 3d04522b authored by Dave Long's avatar Dave Long
Browse files

fix: #3622446 DrupalConsoleLogger throws incorrect exception

By: mfb
By: dcam
By: oily
By: godotislate
parent 261ee4e7
Loading
Loading
Loading
Loading
Loading
+1 −1
Changes for core/tests/Drupal/Tests/Core/Command/DrupalConsoleLoggerTest.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ class DrupalConsoleLoggerTest extends UnitTestCase {
   */
  public function testToPsr3Exception(): void {
    $this->expectException(InvalidArgumentException::class);
    $this->expectExceptionMessageIs('Invalid log level: -1000');
    $this->expectExceptionMessage('Invalid log level: -1000');
    DrupalConsoleLogger::toPsr3(-1000);
  }