Просмотр исходного кода

Remopve dead varialble

This makes it more obvious that this test is not actually doing much
jeroendedauw 10 лет назад
Родитель
Сommit
f8f6615887
1 измененных файлов с 0 добавлено и 10 удалено
  1. 0 10
      tests/Monolog/Handler/CouchDBHandlerTest.php

+ 0 - 10
tests/Monolog/Handler/CouchDBHandlerTest.php

@@ -20,16 +20,6 @@ class CouchDBHandlerTest extends TestCase
     {
         $record = $this->getRecord(Logger::WARNING, 'test', array('data' => new \stdClass, 'foo' => 34));
 
-        $expected = array(
-            'message' => 'test',
-            'context' => array('data' => '[object] (stdClass: {})', 'foo' => 34),
-            'level' => Logger::WARNING,
-            'level_name' => 'WARNING',
-            'channel' => 'test',
-            'datetime' => $record['datetime']->format('Y-m-d H:i:s'),
-            'extra' => array(),
-        );
-
         $handler = new CouchDBHandler();
 
         try {