diff options
Diffstat (limited to 'tests/unit/Data/TDbCommandTest.php')
-rw-r--r-- | tests/unit/Data/TDbCommandTest.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/unit/Data/TDbCommandTest.php b/tests/unit/Data/TDbCommandTest.php index 9023e6b6..a75674bf 100644 --- a/tests/unit/Data/TDbCommandTest.php +++ b/tests/unit/Data/TDbCommandTest.php @@ -1,15 +1,14 @@ <?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'); /** * @package System.Data.PDO */ -class TDbCommandTest extends PHPUnit2_Framework_TestCase +class TDbCommandTest extends PHPUnit_Framework_TestCase { private $_connection; |