We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d76e811 commit 0b96aa2Copy full SHA for 0b96aa2
test/Sentry/SentryBundle/Test/EventListener/ExceptionListenerTest.php
@@ -397,7 +397,7 @@ public function test_that_username_is_set_from_user_interface_if_token_present_a
397
398
public function test_that_it_does_not_report_http_exception_if_included_in_capture_skip()
399
{
400
- $mockException = $this->getMock('Symfony\Component\HttpKernel\Exception\HttpExceptionInterface');
+ $mockException = new \Symfony\Component\HttpKernel\Exception\HttpException(401);
401
402
$mockEvent = $this
403
->getMockBuilder('Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent')
0 commit comments