This commit is contained in:
parent
625b6a3f82
commit
d70e10416b
@ -203,7 +203,7 @@ class Doctrine_Record_TestCase extends Doctrine_UnitTestCase
|
|||||||
public function testCompositePK() {
|
public function testCompositePK() {
|
||||||
$record = new EntityReference();
|
$record = new EntityReference();
|
||||||
$this->assertEqual($record->getTable()->getIdentifier(), array("entity1","entity2"));
|
$this->assertEqual($record->getTable()->getIdentifier(), array("entity1","entity2"));
|
||||||
$this->assertEqual($record->getTable()->getIdentifierType(), Doctrine_Identifier::COMPOSITE);
|
$this->assertEqual($record->getTable()->getIdentifierType(), Doctrine::IDENTIFIER_COMPOSITE);
|
||||||
$this->assertEqual($record->obtainIdentifier(), array("entity1" => null, "entity2" => null));
|
$this->assertEqual($record->obtainIdentifier(), array("entity1" => null, "entity2" => null));
|
||||||
$this->assertEqual($record->state(), Doctrine_Record::STATE_TCLEAN);
|
$this->assertEqual($record->state(), Doctrine_Record::STATE_TCLEAN);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user