1
0
mirror of synced 2024-12-13 22:56:04 +03:00
This commit is contained in:
zYne 2007-10-15 22:22:30 +00:00
parent 4d36734953
commit 4213e49d50

View File

@ -39,7 +39,14 @@ class Doctrine_Table_TestCase extends Doctrine_UnitTestCase
parent::prepareTables();
}
public function testFieldConversion()
public function testInitializingNewTableWorksWithoutConnection()
{
$table = new Doctrine_Table('Test', $this->conn);
$this->assertEqual($table->getComponentName(), 'Test');
}
public function testFieldConversion()
{
$this->dbh->setAttribute(PDO::ATTR_CASE, PDO::CASE_UPPER);