From d70e10416bc552c3980fce922eb4728377919cb9 Mon Sep 17 00:00:00 2001 From: zYne Date: Tue, 26 Jun 2007 23:01:41 +0000 Subject: [PATCH] --- tests/RecordTestCase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/RecordTestCase.php b/tests/RecordTestCase.php index 13a3de1c7..bcfaf77cd 100644 --- a/tests/RecordTestCase.php +++ b/tests/RecordTestCase.php @@ -203,7 +203,7 @@ class Doctrine_Record_TestCase extends Doctrine_UnitTestCase public function testCompositePK() { $record = new EntityReference(); $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->state(), Doctrine_Record::STATE_TCLEAN);