Przeglądaj źródła

Update RavenHandlerTest.php

ipsq 11 lat temu
rodzic
commit
a3e7ed6218
1 zmienionych plików z 2 dodań i 2 usunięć
  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']);