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