From d3fd23af59c6f493279361f5d68971ddb94601ce Mon Sep 17 00:00:00 2001 From: Timothy Warren Date: Tue, 7 Feb 2012 08:18:38 -0500 Subject: [PATCH] Some db sanity checks --- tests/databases/firebird.php | 6 ++++++ tests/databases/sqlite.php | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/tests/databases/firebird.php b/tests/databases/firebird.php index 20887d3..45b910f 100644 --- a/tests/databases/firebird.php +++ b/tests/databases/firebird.php @@ -29,4 +29,10 @@ class FirebirdTest extends UnitTestCase { { parent::__construct(); } + + function TestConnection() + { + $this->firebird = new Firebird("../test_dbs/FB_TEST_DB.FDB"); + $this->assertIsA($this->firebird, 'Firebird'); + } } \ No newline at end of file diff --git a/tests/databases/sqlite.php b/tests/databases/sqlite.php index a1e0708..50f5a4f 100644 --- a/tests/databases/sqlite.php +++ b/tests/databases/sqlite.php @@ -29,4 +29,10 @@ class SQLiteTest extends UnitTestCase { { parent::__construct(); } + + function TestConnection() + { + $this->sqlite = new SQLite("../test_dbs/test_sqlite.db"); + $this->assertIsA($this->sqlite, 'SQLite'); + } } \ No newline at end of file