HosipLan

Untitled

Nov 17th, 2012
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.32 KB | None | 0 0
  1.  
  2.     /**
  3.      * This method is called when a test method did not execute successfully.
  4.      *
  5.      * @param \Exception $e
  6.      */
  7.     protected function onNotSuccessfulTest(\Exception $e)
  8.     {
  9.         if (!$e instanceof \PHPUnit_Framework_AssertionFailedError) {
  10.             Nette\Diagnostics\Debugger::log($e);
  11.         }
  12.  
  13.         parent::onNotSuccessfulTest($e);
  14.     }
Advertisement
Add Comment
Please, Sign In to add comment