1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-06 13:16:39 +02:00

Update changelog

This commit is contained in:
Jordi Boggiano
2019-08-30 11:46:18 +02:00
parent 9b5deda678
commit f954b4ea84
2 changed files with 7 additions and 7 deletions

View File

@@ -42,12 +42,9 @@ class RedisHandlerTest extends TestCase
public function testPredisHandle()
{
$redis = $this->createPartialMock('Predis\Client', ['rPush']);
// Predis\Client uses rPush
$redis->expects($this->once())
->method('rPush')
->with('key', 'test');
$redis = $this->prophesize('Predis\Client');
$redis->rpush('key', 'test')->shouldBeCalled();
$redis = $redis->reveal();
$record = $this->getRecord(Logger::WARNING, 'test', ['data' => new \stdClass, 'foo' => 34]);