diff --git a/tests/Monolog/Handler/RavenHandlerTest.php b/tests/Monolog/Handler/RavenHandlerTest.php index bde55b17..cb8c1e80 100644 --- a/tests/Monolog/Handler/RavenHandlerTest.php +++ b/tests/Monolog/Handler/RavenHandlerTest.php @@ -72,6 +72,18 @@ class RavenHandlerTest extends TestCase $this->assertEquals($ravenClient::WARNING, $ravenClient->lastData['level']); $this->assertContains($record['message'], $ravenClient->lastData['message']); } + + public function testTag() + { + $ravenClient = $this->getRavenClient(); + $handler = $this->getHandler($ravenClient); + + $tags = array('tags' => array(1, 2, 'foo')); + $record = $this->getRecord(Logger::INFO, "test", $tags); + $handler->handle($record); + + $this->assertEquals($record['tags'], $tags); + } public function testException() {