Commit 8303cdb9 authored by zYne's avatar zYne

updated datadict test cases

parent 511a961d
...@@ -45,7 +45,7 @@ class Doctrine_DataDict_Firebird_TestCase extends Doctrine_UnitTestCase ...@@ -45,7 +45,7 @@ class Doctrine_DataDict_Firebird_TestCase extends Doctrine_UnitTestCase
try { try {
$this->dataDict->getPortableDeclaration(array('type' => 'unknown')); $this->dataDict->getPortableDeclaration(array('type' => 'unknown'));
$this->fail(); $this->fail();
} catch(Doctrine_DataDict_Firebird_Exception $e) { } catch(Doctrine_DataDict_Exception $e) {
$this->pass(); $this->pass();
} }
} }
......
...@@ -37,7 +37,7 @@ class Doctrine_DataDict_Mssql_TestCase extends Doctrine_UnitTestCase ...@@ -37,7 +37,7 @@ class Doctrine_DataDict_Mssql_TestCase extends Doctrine_UnitTestCase
try { try {
$this->dataDict->getPortableDeclaration(array('type' => 'some_unknown_type')); $this->dataDict->getPortableDeclaration(array('type' => 'some_unknown_type'));
$this->fail(); $this->fail();
} catch(Doctrine_DataDict_Mssql_Exception $e) { } catch(Doctrine_DataDict_Exception $e) {
$this->pass(); $this->pass();
} }
} }
......
...@@ -44,7 +44,7 @@ class Doctrine_DataDict_Mysql_TestCase extends Doctrine_UnitTestCase { ...@@ -44,7 +44,7 @@ class Doctrine_DataDict_Mysql_TestCase extends Doctrine_UnitTestCase {
try { try {
$this->dataDict->getPortableDeclaration(array('type' => 'some_unknown_type')); $this->dataDict->getPortableDeclaration(array('type' => 'some_unknown_type'));
$this->fail(); $this->fail();
} catch(Doctrine_DataDict_Mysql_Exception $e) { } catch(Doctrine_DataDict_Exception $e) {
$this->pass(); $this->pass();
} }
} }
......
...@@ -36,7 +36,7 @@ class Doctrine_DataDict_Oracle_TestCase extends Doctrine_UnitTestCase { ...@@ -36,7 +36,7 @@ class Doctrine_DataDict_Oracle_TestCase extends Doctrine_UnitTestCase {
try { try {
$this->dataDict->getPortableDeclaration(array('type' => 'some_unknown_type')); $this->dataDict->getPortableDeclaration(array('type' => 'some_unknown_type'));
$this->fail(); $this->fail();
} catch(Doctrine_DataDict_Oracle_Exception $e) { } catch(Doctrine_DataDict_Exception $e) {
$this->pass(); $this->pass();
} }
} }
......
...@@ -41,7 +41,7 @@ class Doctrine_DataDict_Pgsql_TestCase extends Doctrine_UnitTestCase ...@@ -41,7 +41,7 @@ class Doctrine_DataDict_Pgsql_TestCase extends Doctrine_UnitTestCase
try { try {
$this->dataDict->getPortableDeclaration(array('type' => 'some_unknown_type')); $this->dataDict->getPortableDeclaration(array('type' => 'some_unknown_type'));
$this->fail(); $this->fail();
} catch(Doctrine_DataDict_Pgsql_Exception $e) { } catch(Doctrine_DataDict_Exception $e) {
$this->pass(); $this->pass();
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment