Skip to content

Commit

Permalink
Remove exceptions no longer used.
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Apr 12, 2014
1 parent 16a5b29 commit 6bcf987
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 152 deletions.
35 changes: 0 additions & 35 deletions src/Error/MissingConnectionException.php

This file was deleted.

28 changes: 0 additions & 28 deletions src/Error/MissingDatabaseException.php

This file was deleted.

28 changes: 0 additions & 28 deletions src/Error/MissingTableException.php

This file was deleted.

28 changes: 0 additions & 28 deletions src/Error/MissingTestLoaderException.php

This file was deleted.

33 changes: 0 additions & 33 deletions tests/TestCase/Error/ExceptionRendererTest.php
Expand Up @@ -509,22 +509,6 @@ public static function testProvider() {
),
404
),
array(
new Error\MissingTableException(array('table' => 'articles', 'class' => 'Article', 'ds' => 'test')),
array(
'/<h2>Missing Database Table<\/h2>/',
'/Table <em>articles<\/em> for model <em>Article<\/em> was not found in datasource <em>test<\/em>/'
),
500
),
array(
new Error\MissingDatabaseException(array('connection' => 'default')),
array(
'/<h2>Missing Database Connection<\/h2>/',
'/Confirm you have created the file/'
),
500
),
array(
new Error\MissingViewException(array('file' => '/posts/about.ctp')),
array(
Expand All @@ -540,23 +524,6 @@ public static function testProvider() {
),
500
),
array(
new Error\MissingConnectionException(array('class' => 'Mysql')),
array(
'/<h2>Missing Database Connection<\/h2>/',
'/A Database connection using "Mysql" was missing or unable to connect./',
),
500
),
array(
new Error\MissingConnectionException(array('class' => 'Mysql', 'enabled' => false)),
array(
'/<h2>Missing Database Connection<\/h2>/',
'/A Database connection using "Mysql" was missing or unable to connect./',
'/Mysql driver is NOT enabled/'
),
500
),
array(
new Error\MissingHelperException(array('class' => 'MyCustomHelper')),
array(
Expand Down

0 comments on commit 6bcf987

Please sign in to comment.