summaryrefslogtreecommitdiffstats
path: root/tests/mocks/database/db
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mocks/database/db')
-rw-r--r--tests/mocks/database/db/querybuilder.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/mocks/database/db/querybuilder.php b/tests/mocks/database/db/querybuilder.php
new file mode 100644
index 000000000..1b95c92af
--- /dev/null
+++ b/tests/mocks/database/db/querybuilder.php
@@ -0,0 +1,10 @@
+<?php
+
+if ( ! class_exists('CI_DB_query_builder'))
+{
+ class Mock_Database_DB_QueryBuilder extends CI_DB_active_record {}
+}
+else
+{
+ class Mock_Database_DB_QueryBuilder extends CI_DB_query_builder {}
+}