summaryrefslogtreecommitdiff
path: root/tests/simple_unit/ActiveRecord/ActiveRecordMySql5TestCase.php
diff options
context:
space:
mode:
authorwei <>2007-04-22 00:28:36 +0000
committerwei <>2007-04-22 00:28:36 +0000
commit38c18b2d740f61e342f00bc33791f0f3c014e126 (patch)
tree21c12cbd25c7f1ad12d1c7b8dc3ed071a96a2034 /tests/simple_unit/ActiveRecord/ActiveRecordMySql5TestCase.php
parent15fc4fa7120a1795c6112f88145fdfa9bc460455 (diff)
Update to Active Record to use Mysql 4.
Add TActiveRecordRelation
Diffstat (limited to 'tests/simple_unit/ActiveRecord/ActiveRecordMySql5TestCase.php')
-rw-r--r--tests/simple_unit/ActiveRecord/ActiveRecordMySql5TestCase.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/simple_unit/ActiveRecord/ActiveRecordMySql5TestCase.php b/tests/simple_unit/ActiveRecord/ActiveRecordMySql5TestCase.php
index b02de3de..b0d7ccf4 100644
--- a/tests/simple_unit/ActiveRecord/ActiveRecordMySql5TestCase.php
+++ b/tests/simple_unit/ActiveRecord/ActiveRecordMySql5TestCase.php
@@ -1,5 +1,4 @@
-<?php
-
+<?php
Prado::using('System.Data.ActiveRecord.TActiveRecord');
require_once(dirname(__FILE__).'/records/Blogs.php');
@@ -7,7 +6,7 @@ class ActiveRecordMySql5TestCase extends UnitTestCase
{
function setup()
{
- $conn = new TDbConnection('mysql:host=localhost;dbname=ar_test', 'test','test');
+ $conn = new TDbConnection('mysql:host=localhost;dbname=ar_test;port=3307', 'test5','test5');
TActiveRecordManager::getInstance()->setDbConnection($conn);
}