summaryrefslogtreecommitdiffstats
path: root/tests/mocks/database/drivers/sqlite.php
diff options
context:
space:
mode:
authorPhil Sturgeon <email@philsturgeon.co.uk>2012-04-26 20:27:02 +0200
committerPhil Sturgeon <email@philsturgeon.co.uk>2012-04-26 20:27:02 +0200
commit0713b94f5245c9180b58207b661155f084fb493b (patch)
treee269a5f722e2c129357252ee0e8e649f1588d7e4 /tests/mocks/database/drivers/sqlite.php
parent9e2d5d130eff40592b49337a8ba4d8c170934de1 (diff)
parentd115f8327a8f16d957cc4e0876225037bb2f5868 (diff)
Merge pull request #1246 from toopay/db-tests
Improved test coverage for Database.
Diffstat (limited to 'tests/mocks/database/drivers/sqlite.php')
-rw-r--r--tests/mocks/database/drivers/sqlite.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/mocks/database/drivers/sqlite.php b/tests/mocks/database/drivers/sqlite.php
new file mode 100644
index 000000000..76a182cbf
--- /dev/null
+++ b/tests/mocks/database/drivers/sqlite.php
@@ -0,0 +1,16 @@
+<?php
+
+class Mock_Database_Drivers_Sqlite extends Mock_Database_DB_Driver {
+
+ /**
+ * Instantiate the database driver
+ *
+ * @param string DB Driver class name
+ * @param array DB configuration to set
+ * @return void
+ */
+ public function __construct($config = array())
+ {
+ parent::__construct('CI_DB_sqlite3_driver', $config);
+ }
+} \ No newline at end of file