diff options
author | Jordi Boggiano <j.boggiano@seld.be> | 2015-12-18 17:15:26 +0000 |
---|---|---|
committer | Jordi Boggiano <j.boggiano@seld.be> | 2015-12-18 17:48:45 +0000 |
commit | b5b773e12f4ff5505becde9c04306ac910b9afa6 (patch) | |
tree | c6d405cf3d4ad6dbb85147dac19dd05530a42363 /tests/Monolog/Handler/PHPConsoleHandlerTest.php | |
parent | 906bc0e6a21930d686ddaa754f0a8aa1c9afbcaa (diff) | |
download | monolog-b5b773e12f4ff5505becde9c04306ac910b9afa6.zip monolog-b5b773e12f4ff5505becde9c04306ac910b9afa6.tar.gz monolog-b5b773e12f4ff5505becde9c04306ac910b9afa6.tar.bz2 |
Fix naming conflicts in PhpConsoleHandler
Diffstat (limited to 'tests/Monolog/Handler/PHPConsoleHandlerTest.php')
-rw-r--r-- | tests/Monolog/Handler/PHPConsoleHandlerTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/Monolog/Handler/PHPConsoleHandlerTest.php b/tests/Monolog/Handler/PHPConsoleHandlerTest.php index 0316f4c..d366581 100644 --- a/tests/Monolog/Handler/PHPConsoleHandlerTest.php +++ b/tests/Monolog/Handler/PHPConsoleHandlerTest.php @@ -18,7 +18,7 @@ use Monolog\TestCase; use PhpConsole\Connector; use PhpConsole\Dispatcher\Debug as DebugDispatcher; use PhpConsole\Dispatcher\Errors as ErrorDispatcher; -use PhpConsole\Handler; +use PhpConsole\Handler as VendorPhpConsoleHandler; use PHPUnit_Framework_MockObject_MockObject; /** @@ -214,9 +214,9 @@ class PHPConsoleHandlerTest extends TestCase public function testOptionUseOwnErrorsAndExceptionsHandler() { $this->initLogger(array('useOwnErrorsHandler' => true, 'useOwnExceptionsHandler' => true)); - $this->assertEquals(array(Handler::getInstance(), 'handleError'), set_error_handler(function () { + $this->assertEquals(array(VendorPhpConsoleHandler::getInstance(), 'handleError'), set_error_handler(function () { })); - $this->assertEquals(array(Handler::getInstance(), 'handleException'), set_exception_handler(function () { + $this->assertEquals(array(VendorPhpConsoleHandler::getInstance(), 'handleException'), set_exception_handler(function () { })); } |