diff options
author | Taufan Aditya <toopay@taufanaditya.com> | 2012-04-04 20:24:50 +0200 |
---|---|---|
committer | Taufan Aditya <toopay@taufanaditya.com> | 2012-04-04 20:24:50 +0200 |
commit | 5b421665bac7609192917f7b0f34838534be099e (patch) | |
tree | 0222ee5891a628737d483229949998ad7f949ee8 /tests/mocks/database/db | |
parent | 61ff054fb905f0514b942bf3e70a6c882bd64f7a (diff) |
Simple query builder tests
Diffstat (limited to 'tests/mocks/database/db')
-rw-r--r-- | tests/mocks/database/db/querybuilder.php | 10 |
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 {} +} |