1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-02 19:27:37 +02:00

Removed testing a mock instead of the real handler

This commit is contained in:
ChristianB
2013-01-30 19:37:42 +01:00
parent a82bac49f2
commit 32145bc49e

View File

@@ -30,9 +30,7 @@ class ZendMonitorHandlerTest extends TestCase
*/ */
public function testIsZendServerReturnsTrue() public function testIsZendServerReturnsTrue()
{ {
$zendMonitor = $this->getMockBuilder('Monolog\Handler\ZendMonitorHandler') $zendMonitor = new ZendMonitorHandler();
->setMethods(null)
->getMock();
$this->assertTrue($zendMonitor->isZendServer()); $this->assertTrue($zendMonitor->isZendServer());
} }