Commit 4213e49d authored by zYne's avatar zYne

--no commit message

--no commit message
parent 4d367349
...@@ -39,6 +39,13 @@ class Doctrine_Table_TestCase extends Doctrine_UnitTestCase ...@@ -39,6 +39,13 @@ class Doctrine_Table_TestCase extends Doctrine_UnitTestCase
parent::prepareTables(); parent::prepareTables();
} }
public function testInitializingNewTableWorksWithoutConnection()
{
$table = new Doctrine_Table('Test', $this->conn);
$this->assertEqual($table->getComponentName(), 'Test');
}
public function testFieldConversion() public function testFieldConversion()
{ {
$this->dbh->setAttribute(PDO::ATTR_CASE, PDO::CASE_UPPER); $this->dbh->setAttribute(PDO::ATTR_CASE, PDO::CASE_UPPER);
......
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