mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-29 11:26:09 +01:00
Fix a ton of tests for latest phpunit and turn faked-stream tests into real network tests with a local server
This commit is contained in:
@@ -39,7 +39,7 @@ class PsrHandlerTest extends TestCase
|
||||
$message = 'Hello, world! ' . $level;
|
||||
$context = ['foo' => 'bar', 'level' => $level];
|
||||
|
||||
$psrLogger = $this->getMock('Psr\Log\NullLogger');
|
||||
$psrLogger = $this->createMock('Psr\Log\NullLogger');
|
||||
$psrLogger->expects($this->once())
|
||||
->method('log')
|
||||
->with(strtolower($levelName), $message, $context);
|
||||
|
||||
Reference in New Issue
Block a user