diff --git a/tests/Monolog/Handler/UdpSocketTest.php b/tests/Monolog/Handler/UdpSocketTest.php index c14fa8d48..1e9b32f7f 100644 --- a/tests/Monolog/Handler/UdpSocketTest.php +++ b/tests/Monolog/Handler/UdpSocketTest.php @@ -26,7 +26,7 @@ public function testWeDoNotTruncateShortMessages() ->setConstructorArgs(['lol']) ->getMock(); - $socket->expects($this->at(0)) + $socket ->method('send') ->with("HEADER: The quick brown fox jumps over the lazy dog");