We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 510c07d commit d07a0ddCopy full SHA for d07a0dd
tests/Feature/ConfigurationTest.php
@@ -85,7 +85,7 @@ public function testConfigurationWithCustomLoggerThrowsExceptionWhenLogLevelIsAl
85
86
public function testConfigurationWithInvalidLoggerThrowsException(): void
87
{
88
- $this->expectException(\InvalidArgumentException::class);
+ $this->expectException(ConfigError::class);
89
$this->expectExceptionMessage('Logger must implement Psr\Log\LoggerInterface');
90
91
// Try to pass a non-logger object (should throw exception)
@@ -158,4 +158,3 @@ public function testConfigurationWithAllOptions(): void
158
$this->assertNotNull($config->getNearestNode());
159
}
160
161
-
0 commit comments