Skip to content

Commit

Permalink
Fix ExceptionRendererTest
Browse files Browse the repository at this point in the history
Update use statements causing this test to fail when in travis
  • Loading branch information
Michael Pirouet committed Apr 5, 2015
1 parent 4349adc commit e590c7f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/TestCase/Error/ExceptionRendererTest.php
Expand Up @@ -19,6 +19,7 @@
use Cake\Controller\Exception\MissingActionException;
use Cake\Controller\Exception\MissingComponentException;
use Cake\Core\Configure;
use Cake\Core\Exception\Exception as CakeException;
use Cake\Core\Exception\MissingPluginException;
use Cake\Core\Plugin;
use Cake\Datasource\Exception\MissingDatasourceConfigException;
Expand All @@ -39,6 +40,7 @@
use Cake\View\Exception\MissingLayoutException;
use Cake\View\Exception\MissingTemplateException;
use Exception;
use RuntimeException;

/**
* BlueberryComponent class
Expand Down Expand Up @@ -589,14 +591,14 @@ public static function exceptionProvider()
500
],
[
new \RuntimeException('another boom'),
new RuntimeException('another boom'),
[
'/Internal Error/'
],
500
],
[
new \Cake\Core\ExceptionException('base class'),
new CakeException('base class'),
['/Internal Error/'],
500
]
Expand Down

0 comments on commit e590c7f

Please sign in to comment.