From 8303cdb908ccc2256865271c9d1e591bd2e6577c Mon Sep 17 00:00:00 2001 From: zYne Date: Sat, 27 Jan 2007 10:06:48 +0000 Subject: [PATCH] updated datadict test cases --- tests/DataDict/FirebirdTestCase.php | 2 +- tests/DataDict/MssqlTestCase.php | 2 +- tests/DataDict/MysqlTestCase.php | 2 +- tests/DataDict/OracleTestCase.php | 2 +- tests/DataDict/PgsqlTestCase.php | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/DataDict/FirebirdTestCase.php b/tests/DataDict/FirebirdTestCase.php index 73348af35..a6073a258 100644 --- a/tests/DataDict/FirebirdTestCase.php +++ b/tests/DataDict/FirebirdTestCase.php @@ -45,7 +45,7 @@ class Doctrine_DataDict_Firebird_TestCase extends Doctrine_UnitTestCase try { $this->dataDict->getPortableDeclaration(array('type' => 'unknown')); $this->fail(); - } catch(Doctrine_DataDict_Firebird_Exception $e) { + } catch(Doctrine_DataDict_Exception $e) { $this->pass(); } } diff --git a/tests/DataDict/MssqlTestCase.php b/tests/DataDict/MssqlTestCase.php index 87a2a479d..df123dd31 100644 --- a/tests/DataDict/MssqlTestCase.php +++ b/tests/DataDict/MssqlTestCase.php @@ -37,7 +37,7 @@ class Doctrine_DataDict_Mssql_TestCase extends Doctrine_UnitTestCase try { $this->dataDict->getPortableDeclaration(array('type' => 'some_unknown_type')); $this->fail(); - } catch(Doctrine_DataDict_Mssql_Exception $e) { + } catch(Doctrine_DataDict_Exception $e) { $this->pass(); } } diff --git a/tests/DataDict/MysqlTestCase.php b/tests/DataDict/MysqlTestCase.php index 4069e5fc7..c33bb7b88 100644 --- a/tests/DataDict/MysqlTestCase.php +++ b/tests/DataDict/MysqlTestCase.php @@ -44,7 +44,7 @@ class Doctrine_DataDict_Mysql_TestCase extends Doctrine_UnitTestCase { try { $this->dataDict->getPortableDeclaration(array('type' => 'some_unknown_type')); $this->fail(); - } catch(Doctrine_DataDict_Mysql_Exception $e) { + } catch(Doctrine_DataDict_Exception $e) { $this->pass(); } } diff --git a/tests/DataDict/OracleTestCase.php b/tests/DataDict/OracleTestCase.php index f25a27e72..8a2b0b2a1 100644 --- a/tests/DataDict/OracleTestCase.php +++ b/tests/DataDict/OracleTestCase.php @@ -36,7 +36,7 @@ class Doctrine_DataDict_Oracle_TestCase extends Doctrine_UnitTestCase { try { $this->dataDict->getPortableDeclaration(array('type' => 'some_unknown_type')); $this->fail(); - } catch(Doctrine_DataDict_Oracle_Exception $e) { + } catch(Doctrine_DataDict_Exception $e) { $this->pass(); } } diff --git a/tests/DataDict/PgsqlTestCase.php b/tests/DataDict/PgsqlTestCase.php index 4e60e13da..db8b38a54 100644 --- a/tests/DataDict/PgsqlTestCase.php +++ b/tests/DataDict/PgsqlTestCase.php @@ -41,7 +41,7 @@ class Doctrine_DataDict_Pgsql_TestCase extends Doctrine_UnitTestCase try { $this->dataDict->getPortableDeclaration(array('type' => 'some_unknown_type')); $this->fail(); - } catch(Doctrine_DataDict_Pgsql_Exception $e) { + } catch(Doctrine_DataDict_Exception $e) { $this->pass(); } }