diff --git a/tests/ZendTest/Log/Formatter/SimpleTest.php b/tests/ZendTest/Log/Formatter/SimpleTest.php index a98f220e4b2..18fe0f62ad6 100644 --- a/tests/ZendTest/Log/Formatter/SimpleTest.php +++ b/tests/ZendTest/Log/Formatter/SimpleTest.php @@ -47,39 +47,6 @@ public function testDefaultFormat() $this->assertEquals($outputExpected, $formatter->format($fields)); } - /** - * @dataProvider provideMessages - */ - public function testComplexMessages($message, $printExpected) - { - $fields = array( - 'timestamp' => new DateTime(), - 'priority' => 42, - 'priorityName' => 'bar', - 'extra' => array() - ); - - $formatter = new Simple(); - - $fields['message'] = $message; - $line = $formatter->format($fields); - $this->assertContains($printExpected, $line); - } - - public function provideMessages() - { - return array( - array('Foo', 'Foo'), - array(10, '10'), - array(10.5, '10.5'), - array(true, '1'), - array(fopen('php://stdout', 'w'), 'resource(stream)'), - array(range(1, 10), '[1,2,3,4,5,6,7,8,9,10]'), - array(new StringObject(), 'Hello World'), - array(new stdClass(), 'object'), - ); - } - /** * @dataProvider provideDateTimeFormats */