mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-02 11:20:31 +02:00
Removed testing a mock instead of the real handler
This commit is contained in:
@@ -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());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user