mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-05 20:57:36 +02: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:
@@ -47,7 +47,7 @@ class DynamoDbHandlerTest extends TestCase
|
||||
public function testHandle()
|
||||
{
|
||||
$record = $this->getRecord();
|
||||
$formatter = $this->getMock('Monolog\Formatter\FormatterInterface');
|
||||
$formatter = $this->createMock('Monolog\Formatter\FormatterInterface');
|
||||
$formatted = ['foo' => 1, 'bar' => 2];
|
||||
$handler = new DynamoDbHandler($this->client, 'foo');
|
||||
$handler->setFormatter($formatter);
|
||||
|
Reference in New Issue
Block a user