From 7ea61ba9701a04bc593d7c5960c5135ce39805a8 Mon Sep 17 00:00:00 2001
From: wei <>
Date: Wed, 3 Jan 2007 11:31:18 +0000
Subject: quote the criteria string in ActiveRecord.

---
 tests/simple_unit/ActiveRecord/records/DepSections.php      | 2 +-
 tests/simple_unit/ActiveRecord/records/DepartmentRecord.php | 2 +-
 tests/simple_unit/ActiveRecord/records/SimpleUser.php       | 2 +-
 tests/simple_unit/ActiveRecord/records/SqliteUsers.php      | 2 +-
 tests/simple_unit/ActiveRecord/records/UserRecord.php       | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

(limited to 'tests/simple_unit')

diff --git a/tests/simple_unit/ActiveRecord/records/DepSections.php b/tests/simple_unit/ActiveRecord/records/DepSections.php
index 9563dda6..476371bd 100644
--- a/tests/simple_unit/ActiveRecord/records/DepSections.php
+++ b/tests/simple_unit/ActiveRecord/records/DepSections.php
@@ -6,7 +6,7 @@ class DepSections extends TActiveRecord
 	public $section_id;
 	public $order;
 
-	private static $_tablename='department_sections';
+	public static $_tablename='department_sections';
 
 	public static function finder()
 	{
diff --git a/tests/simple_unit/ActiveRecord/records/DepartmentRecord.php b/tests/simple_unit/ActiveRecord/records/DepartmentRecord.php
index 62e5c3e4..64ab39d0 100644
--- a/tests/simple_unit/ActiveRecord/records/DepartmentRecord.php
+++ b/tests/simple_unit/ActiveRecord/records/DepartmentRecord.php
@@ -8,7 +8,7 @@ class DepartmentRecord extends TActiveRecord
 	public $active;
 	public $order;
 
-	private static $_tablename = 'departments';
+	public static $_tablename = 'departments';
 
 	public static function finder()
 	{
diff --git a/tests/simple_unit/ActiveRecord/records/SimpleUser.php b/tests/simple_unit/ActiveRecord/records/SimpleUser.php
index a6eb2f81..a256ffaf 100644
--- a/tests/simple_unit/ActiveRecord/records/SimpleUser.php
+++ b/tests/simple_unit/ActiveRecord/records/SimpleUser.php
@@ -4,7 +4,7 @@ class SimpleUser extends TActiveRecord
 {
 	public $username;
 
-	private static $_tablename='simple_users';
+	public static $_tablename='simple_users';
 
 	public static function finder()
 	{
diff --git a/tests/simple_unit/ActiveRecord/records/SqliteUsers.php b/tests/simple_unit/ActiveRecord/records/SqliteUsers.php
index 7a8f3cbb..6a6b9be9 100644
--- a/tests/simple_unit/ActiveRecord/records/SqliteUsers.php
+++ b/tests/simple_unit/ActiveRecord/records/SqliteUsers.php
@@ -6,7 +6,7 @@ class SqliteUsers extends TActiveRecord
 	public $password;
 	public $email;
 
-	private static $_tablename='users';
+	public static $_tablename='users';
 
 	public static function finder()
 	{
diff --git a/tests/simple_unit/ActiveRecord/records/UserRecord.php b/tests/simple_unit/ActiveRecord/records/UserRecord.php
index 45b74d3a..02534d6f 100644
--- a/tests/simple_unit/ActiveRecord/records/UserRecord.php
+++ b/tests/simple_unit/ActiveRecord/records/UserRecord.php
@@ -18,7 +18,7 @@ class UserRecord extends TActiveRecord
 
 	private $_level=-1;
 
-	protected static $_tablename='users';
+	public static $_tablename='users';
 
 	public function getLevel()
 	{
-- 
cgit v1.2.3