summaryrefslogtreecommitdiff
path: root/tests/simple_unit/ActiveRecord/SqliteTestCase.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/simple_unit/ActiveRecord/SqliteTestCase.php')
-rw-r--r--tests/simple_unit/ActiveRecord/SqliteTestCase.php19
1 files changed, 0 insertions, 19 deletions
diff --git a/tests/simple_unit/ActiveRecord/SqliteTestCase.php b/tests/simple_unit/ActiveRecord/SqliteTestCase.php
deleted file mode 100644
index ed0ea496..00000000
--- a/tests/simple_unit/ActiveRecord/SqliteTestCase.php
+++ /dev/null
@@ -1,19 +0,0 @@
-<?php
-Prado::using('System.Data.ActiveRecord.TActiveRecord');
-require_once(dirname(__FILE__).'/records/SqliteUsers.php');
-
-class SqliteTestCase extends UnitTestCase
-{
- function setup()
- {
- $conn = new TDbConnection('sqlite2:'.dirname(__FILE__).'/ar_test.db');
- TActiveRecordManager::getInstance()->setDbConnection($conn);
- }
-
- function test_finder()
- {
- $finder = SqliteUsers::finder();
- $user = $finder->findByPk('test');
- $this->assertNotNull($user);
- }
-}