rearranged tests
This commit is contained in:
parent
ab34a7c0fc
commit
de34e24325
@ -21,7 +21,7 @@ class FirebirdQBTest extends QBTest {
|
||||
{
|
||||
parent::__construct();
|
||||
|
||||
$dbpath = TEST_DIR.DS.'test_dbs'.DS.'FB_TEST_DB.FDB';
|
||||
$dbpath = TEST_DIR.DS.'db_files'.DS.'FB_TEST_DB.FDB';
|
||||
|
||||
// Test the query builder
|
||||
$params = new Stdclass();
|
@ -21,7 +21,7 @@ class FirebirdTest extends DBTest {
|
||||
|
||||
function setUp()
|
||||
{
|
||||
$dbpath = TEST_DIR.DS.'test_dbs'.DS.'FB_TEST_DB.FDB';
|
||||
$dbpath = TEST_DIR.DS.'db_files'.DS.'FB_TEST_DB.FDB';
|
||||
|
||||
// Test the db driver directly
|
||||
$this->db = new Firebird('localhost:'.$dbpath);
|
@ -21,7 +21,7 @@
|
||||
{
|
||||
parent::__construct();
|
||||
|
||||
$path = TEST_DIR.DS.'test_dbs'.DS.'test_sqlite.db';
|
||||
$path = TEST_DIR.DS.'db_files'.DS.'test_sqlite.db';
|
||||
$params = new Stdclass();
|
||||
$params->type = 'sqlite';
|
||||
$params->file = $path;
|
@ -26,7 +26,7 @@ class SQLiteTest extends UnitTestCase {
|
||||
|
||||
function setUp()
|
||||
{
|
||||
$path = TEST_DIR.DS.'test_dbs'.DS.'test_sqlite.db';
|
||||
$path = TEST_DIR.DS.'db_files'.DS.'test_sqlite.db';
|
||||
$this->db = new SQLite($path);
|
||||
}
|
||||
|
Binary file not shown.
Binary file not shown.
@ -47,14 +47,12 @@ foreach(pdo_drivers() as $d)
|
||||
|
||||
if(is_dir($src_dir))
|
||||
{
|
||||
require_once("{$test_path}{$d}.php");
|
||||
require_once("{$test_path}{$d}-qb.php");
|
||||
array_map('do_include', glob("{$test_path}{$d}/{$d}*.php"));
|
||||
}
|
||||
}
|
||||
|
||||
// Load Firebird if there is support
|
||||
if(function_exists('fbird_connect'))
|
||||
{
|
||||
require_once("{$test_path}firebird.php");
|
||||
require_once("{$test_path}firebird-qb.php");
|
||||
array_map('do_include', glob("{$test_path}/firebird/firebird*.php"));
|
||||
}
|
Loading…
Reference in New Issue
Block a user