diff --git a/.gitignore b/.gitignore index fb35caa..d910a93 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,4 @@ settings.json errors.txt */simpletest/* -tests/test_dbs/* -*.db -*.FDB \ No newline at end of file +tests/test_dbs/* \ No newline at end of file diff --git a/tests/databases/sqlite.php b/tests/databases/sqlite.php index 811478d..3e9fe89 100644 --- a/tests/databases/sqlite.php +++ b/tests/databases/sqlite.php @@ -22,8 +22,9 @@ class SQLiteTest extends UnitTestCase { function __construct() { parent::__construct(); - - $this->db = new SQLite(dirname(__FILE__)."/../test_dbs/test_sqlite.db"); + + $path = dirname(__FILE__)."/../test_dbs/test_sqlite.db"; + $this->db = new SQLite($path); } function TestConnection()