summaryrefslogtreecommitdiffstats
path: root/tests/codeigniter/database
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-11-25 15:32:05 +0100
committerAndrey Andreev <narf@bofh.bg>2012-11-25 15:32:05 +0100
commit79980e4ddc3dd312e31523c2ecf3042cd9010bde (patch)
treecbe64ae48df8f63af74425e8ca3b1347444eb91e /tests/codeigniter/database
parent7e83f32e3844ba8ee34c8a79ee6fa3f558fcb46a (diff)
MySQLi tests
Diffstat (limited to 'tests/codeigniter/database')
-rw-r--r--tests/codeigniter/database/DB_driver_test.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/codeigniter/database/DB_driver_test.php b/tests/codeigniter/database/DB_driver_test.php
index 1f48ca984..c04c42b09 100644
--- a/tests/codeigniter/database/DB_driver_test.php
+++ b/tests/codeigniter/database/DB_driver_test.php
@@ -21,6 +21,11 @@ class DB_driver_test extends CI_TestCase {
return new Mock_Database_Drivers_Mysql($config);
}
+ protected function mysqli($config)
+ {
+ return new Mock_Database_Drivers_Mysqli($config);
+ }
+
protected function sqlite($config)
{
return new Mock_Database_Drivers_Sqlite($config);