소스 검색

Update RavenHandlerTest.php

ipsq 12 년 전
부모
커밋
a3e7ed6218
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      tests/Monolog/Handler/RavenHandlerTest.php

+ 2 - 2
tests/Monolog/Handler/RavenHandlerTest.php

@@ -78,8 +78,8 @@ class RavenHandlerTest extends TestCase
         $ravenClient = $this->getRavenClient();
         $handler = $this->getHandler($ravenClient);
 
-        $tags = array('tags' => array(1, 2, 'foo'));
-        $record = $this->getRecord(Logger::INFO, "test", $tags);
+        $tags = array(1, 2, 'foo');
+        $record = $this->getRecord(Logger::INFO, "test", array('tags' => $tags));
         $handler->handle($record);
 
         $this->assertEquals($tags, $ravenClient->lastData['tags']);