summaryrefslogtreecommitdiffstats
path: root/tests/mocks/database/db/querybuilder.php
diff options
context:
space:
mode:
authorTaufan Aditya <toopay@taufanaditya.com>2012-04-04 20:24:50 +0200
committerTaufan Aditya <toopay@taufanaditya.com>2012-04-04 20:24:50 +0200
commit5b421665bac7609192917f7b0f34838534be099e (patch)
tree0222ee5891a628737d483229949998ad7f949ee8 /tests/mocks/database/db/querybuilder.php
parent61ff054fb905f0514b942bf3e70a6c882bd64f7a (diff)
Simple query builder tests
Diffstat (limited to 'tests/mocks/database/db/querybuilder.php')
-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 {}
+}