Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $this->container
- ->get('event_dispatcher')
- ->addListener('kernel.exception', function(GetResponseForExceptionEvent $event)
- {
- if($event->getException() instanceof \PHPUnit_Framework_ExpectationFailedException) {
- $event->stopPropagation();
- }
- }, 255);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement