summaryrefslogtreecommitdiff
path: root/tests/simple_unit/SqlMap/ActiveRecordSqlMapTest.php
diff options
context:
space:
mode:
authorwei <>2007-05-04 08:37:12 +0000
committerwei <>2007-05-04 08:37:12 +0000
commit8708f7e88e423b44ea4b3b8fff14f055d2b5c4ac (patch)
treef468f8990c7675089f804914453ba994d0c1be30 /tests/simple_unit/SqlMap/ActiveRecordSqlMapTest.php
parentc1bddf3826ec570ea4c58d7a56c410ae54d26508 (diff)
Add saving/updating ActiveRecord relationships.
Diffstat (limited to 'tests/simple_unit/SqlMap/ActiveRecordSqlMapTest.php')
-rw-r--r--tests/simple_unit/SqlMap/ActiveRecordSqlMapTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/simple_unit/SqlMap/ActiveRecordSqlMapTest.php b/tests/simple_unit/SqlMap/ActiveRecordSqlMapTest.php
index 81ce93bb..ebc3ad46 100644
--- a/tests/simple_unit/SqlMap/ActiveRecordSqlMapTest.php
+++ b/tests/simple_unit/SqlMap/ActiveRecordSqlMapTest.php
@@ -40,7 +40,7 @@ class ActiveRecordSqlMapTest extends BaseCase
foreach($records as $record)
{
$this->assertEqual(get_class($record), 'ActiveAccount');
- $this->assertTrue($registry->getIsCleanObject($record));
+ $this->assertTrue($registry->isCleanObject($record));
}
}
@@ -51,7 +51,7 @@ class ActiveRecordSqlMapTest extends BaseCase
foreach($records as $record)
{
$this->assertEqual(get_class($record), 'ActiveAccount');
- $this->assertTrue($registry->getIsCleanObject($record));
+ $this->assertTrue($registry->isCleanObject($record));
}
}
@@ -60,7 +60,7 @@ class ActiveRecordSqlMapTest extends BaseCase
$record = $this->sqlmap->queryForObject('GetActiveRecordAccounts');
$registry=TActiveRecordManager::getInstance()->getObjectStateRegistry();
$record->Account_FirstName = "Testing 123";
- $this->assertTrue($registry->getIsDirtyObject($record));
+ $this->assertTrue($registry->isDirtyObject($record));
$this->assertTrue($record->save());