summaryrefslogtreecommitdiff
path: root/tests/unit/Data/TDbDataReaderTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/Data/TDbDataReaderTest.php')
-rw-r--r--tests/unit/Data/TDbDataReaderTest.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/unit/Data/TDbDataReaderTest.php b/tests/unit/Data/TDbDataReaderTest.php
index 9d61a330..98aa0385 100644
--- a/tests/unit/Data/TDbDataReaderTest.php
+++ b/tests/unit/Data/TDbDataReaderTest.php
@@ -1,10 +1,9 @@
<?php
-require_once(dirname(__FILE__).'/../phpunit2.php');
-
Prado::using('System.Data.*');
-define('TEST_DB_FILE',dirname(__FILE__).'/db/test.db');
+if(!defined('TEST_DB_FILE'))
+ define('TEST_DB_FILE',dirname(__FILE__).'/db/test.db');
class FooRecord extends TComponent
{
@@ -31,7 +30,7 @@ class FooRecord extends TComponent
/**
* @package System.Data.PDO
*/
-class TDbDataReaderTest extends PHPUnit2_Framework_TestCase
+class TDbDataReaderTest extends PHPUnit_Framework_TestCase
{
private $_connection;