Permalink
Browse files

Merge branch 'hotfix/3215' into develop

Close #3215
  • Loading branch information...
2 parents abf8c8f + cb963e7 commit 845d779ac56fd2da5ee32b4383715f06728af773 @weierophinney weierophinney committed Dec 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 library/Zend/Test/PHPUnit/Controller/AbstractControllerTestCase.php
@@ -246,7 +246,7 @@ public function dispatch($url, $method = HttpRequest::METHOD_GET, $params = arra
}
$exception = $this->getApplication()->getMvcEvent()->getParam('exception');
- if ($exception) {
+ if ($exception instanceof \Exception) {
throw $exception;
}
}

0 comments on commit 845d779

Please sign in to comment.