summaryrefslogtreecommitdiff
path: root/tests/simple_unit/SqlMap/ActiveRecordSqlMapTest.php
diff options
context:
space:
mode:
authorwei <>2006-12-20 03:15:04 +0000
committerwei <>2006-12-20 03:15:04 +0000
commit2c221ea67d0512961beea8fbcb30b23865c16bb0 (patch)
treeaba7901f8e286d0b4101fc9022247897881bd5c1 /tests/simple_unit/SqlMap/ActiveRecordSqlMapTest.php
parent2570226fbac3e26b1e94896b50d1db4bc1aa3308 (diff)
Add quickstart docs for Active Record and SqlMap
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 107985db..9dc944f5 100644
--- a/tests/simple_unit/SqlMap/ActiveRecordSqlMapTest.php
+++ b/tests/simple_unit/SqlMap/ActiveRecordSqlMapTest.php
@@ -1,4 +1,4 @@
-<?php
+<?php
require_once(dirname(__FILE__).'/BaseCase.php');
@@ -14,7 +14,7 @@ class ActiveAccount extends TActiveRecord
public $Account_Banner_Option;
public $Account_Cart_Option;
- private static $_tablename='accounts';
+ private static $_tablename='Accounts';
public static function finder()
{
@@ -81,5 +81,5 @@ class ActiveRecordSqlMapTest extends BaseCase
$this->assertEqual($account1->{$prop}, $account2->{$prop});
}
}
-
+
?> \ No newline at end of file