mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-11 23:54:04 +02:00
Fix raven tests
This commit is contained in:
@@ -117,7 +117,7 @@ class RavenHandlerTest extends TestCase
|
||||
$ravenClient->user_context(array('id' => 'test_user_id'));
|
||||
// handle context
|
||||
$handler->handle($recordWithContext);
|
||||
$this->assertEquals($user, $ravenClient->lastData['sentry.interfaces.User']);
|
||||
$this->assertEquals($user, $ravenClient->lastData['user']);
|
||||
|
||||
// check to see if its reset
|
||||
$handler->handle($recordWithNoContext);
|
||||
@@ -127,7 +127,7 @@ class RavenHandlerTest extends TestCase
|
||||
// handle with null context
|
||||
$ravenClient->user_context(null);
|
||||
$handler->handle($recordWithContext);
|
||||
$this->assertEquals($user, $ravenClient->lastData['sentry.interfaces.User']);
|
||||
$this->assertEquals($user, $ravenClient->lastData['user']);
|
||||
|
||||
// check to see if its reset
|
||||
$handler->handle($recordWithNoContext);
|
||||
|
Reference in New Issue
Block a user