1
0
mirror of synced 2024-12-13 14:56:01 +03:00

updated datadict test cases

This commit is contained in:
zYne 2007-01-27 10:06:48 +00:00
parent 511a961d53
commit 8303cdb908
5 changed files with 5 additions and 5 deletions

View File

@ -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();
}
}

View File

@ -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();
}
}

View File

@ -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();
}
}

View File

@ -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();
}
}

View File

@ -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();
}
}