commit | 5b421665bac7609192917f7b0f34838534be099e | [log] [tgz] |
---|---|---|
author | Taufan Aditya <toopay@taufanaditya.com> | Thu Apr 05 01:24:50 2012 +0700 |
committer | Taufan Aditya <toopay@taufanaditya.com> | Thu Apr 05 01:24:50 2012 +0700 |
tree | 0222ee5891a628737d483229949998ad7f949ee8 | |
parent | 61ff054fb905f0514b942bf3e70a6c882bd64f7a [diff] |
Simple query builder tests
diff --git a/tests/mocks/database/db/querybuilder.php b/tests/mocks/database/db/querybuilder.php new file mode 100644 index 0000000..1b95c92 --- /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 {} +}