1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-02 11:20:31 +02:00

avoid test suites failed with Fatal error when sockets extension is not available

This commit is contained in:
Laurent Laville
2014-08-14 16:34:32 +02:00
parent 12545cda2f
commit 0d1a23e7fc
2 changed files with 6 additions and 0 deletions

View File

@@ -2,6 +2,9 @@
namespace Monolog\Handler; namespace Monolog\Handler;
/**
* @requires extension sockets
*/
class SyslogUdpHandlerTest extends \PHPUnit_Framework_TestCase class SyslogUdpHandlerTest extends \PHPUnit_Framework_TestCase
{ {
/** /**

View File

@@ -4,6 +4,9 @@ namespace Monolog\Handler;
use Monolog\TestCase; use Monolog\TestCase;
/**
* @requires extension sockets
*/
class UdpSocketTest extends TestCase class UdpSocketTest extends TestCase
{ {
public function testWeDoNotSplitShortMessages() public function testWeDoNotSplitShortMessages()