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:
@@ -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
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
|
@@ -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()
|
||||||
|
Reference in New Issue
Block a user