diff options
author | wei <> | 2006-06-12 03:10:47 +0000 |
---|---|---|
committer | wei <> | 2006-06-12 03:10:47 +0000 |
commit | 1c6f1f79d011579a158e87459040075331b636b7 (patch) | |
tree | 75236e04a5e2aaf9685b34ed7bed0f82e591bbb4 /tests/unit/SQLMap/TAdodbConnectionTestCase.php | |
parent | f30c38fcc9d6cdfa7aafa5078a58645192c11974 (diff) |
Minor updates.
Diffstat (limited to 'tests/unit/SQLMap/TAdodbConnectionTestCase.php')
-rw-r--r-- | tests/unit/SQLMap/TAdodbConnectionTestCase.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/unit/SQLMap/TAdodbConnectionTestCase.php b/tests/unit/SQLMap/TAdodbConnectionTestCase.php index c0d99867..1ba0ec04 100644 --- a/tests/unit/SQLMap/TAdodbConnectionTestCase.php +++ b/tests/unit/SQLMap/TAdodbConnectionTestCase.php @@ -1,11 +1,13 @@ <?php
-require_once(SQLMAP_DIR.'/TMapper.php');
+require_once dirname(__FILE__).'/../phpunit2.php';
+
+require_once(dirname(__FILE__).'/common.php');
/**
* @package System.DataAccess
*/
-class TAdodbConnectionTestCase extends UnitTestCase
+class TAdodbConnectionTestCase extends PHPUnit2_Framework_TestCase
{
protected $db_file;
@@ -15,7 +17,6 @@ class TAdodbConnectionTestCase extends UnitTestCase $this->db_file = dirname(__FILE__).'/resources/test.db';
copy($file,$this->db_file);
$provider = new TAdodb();
- $provider->importAdodbLibrary();
}
function getDsn()
|