File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
test/Sentry/SentryBundle/Test/EventListener Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -425,7 +425,7 @@ public function test_that_it_does_not_report_http_exception_if_included_in_captu
425425
426426 public function test_that_it_captures_exception ()
427427 {
428- $ mockException = $ this -> getMock ( ' Exception ' );
428+ $ mockException = new \ Exception ( );
429429
430430 $ mockEvent = $ this
431431 ->getMockBuilder ('Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent ' )
@@ -453,7 +453,7 @@ public function test_that_it_captures_exception()
453453
454454 public function test_that_it_captures_console_exception ()
455455 {
456- $ mockException = $ this -> getMock ( ' Exception ' );
456+ $ mockException = new \ Exception ( );
457457
458458 $ mockCommand = $ this
459459 ->getMockBuilder ('Symfony\Component\Console\Command\Command ' )
@@ -519,7 +519,7 @@ public function test_that_it_can_replace_client()
519519 ->getMock ()
520520 ;
521521
522- $ mockException = $ this -> getMock ( ' Exception ' );
522+ $ mockException = new \ Exception ( );
523523
524524 $ mockEvent = $ this
525525 ->getMockBuilder ('Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent ' )
You can’t perform that action at this time.
0 commit comments