diff options
Diffstat (limited to 'tests/simple_unit/SqlMap')
-rw-r--r-- | tests/simple_unit/SqlMap/ActiveRecordSqlMapTest.php | 6 |
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());
|