summaryrefslogtreecommitdiffstats
path: root/tests/mocks/database
AgeCommit message (Collapse)AuthorFilesLines
2015-08-03[ci skip] Normalize tabs/spacesAndrey Andreev1-1/+1
Partial changes from PR #4016
2015-02-19test_db_failover is failing after 'autoinit' removal ...Andrey Andreev1-1/+1
2015-02-19Remove 'autoinit' DB settingAndrey Andreev1-2/+1
It doesn't make sense to do a load->database() call but not connect to the database. IIRC there was more stuff in CI_DB_driver::initialize() at some point, so that was probably the reason why the setting existed in the first place. However, now it only results in users making invalid bug reports because they don't understand the feature ... Examples during just the past 2 weeks: #3571 #3601 #3607
2015-01-20Ignore mysql_*connect() E_DEPRECATED errors in testsAndrey Andreev1-0/+7
2015-01-12Added support for running unit tests on PHP 5.2Dan Bernardic1-17/+17
Signed-off-by: Dan Bernardic <dan.bernardic@gmail.com>
2014-02-20Remove a few empty 'mock' classesAndrey Andreev2-4/+1
2013-07-15Fix Travis testsAndrey Andreev1-0/+2
2013-02-21DB_result tests seem to also depend on autoloading via the class_exists() ↵Andrey Andreev1-0/+0
checks ...
2012-11-25MySQLi testsAndrey Andreev2-0/+51
2012-11-05Refactored DB ForgeAndrey Andreev2-3/+4
- PDO subdrivers are isolated from each other now. - Added compatibility for pretty much all of the features, for every DB platform. - Unified the way that stuff works in general. - Fixes issue #1005.
2012-10-23Merge branch 'develop' of git://github.com/EllisLab/CodeIgniter into ↵dchill421-1/+2
load_config_units
2012-10-23Fix a mock db entryAndrey Andreev1-1/+1
2012-10-23Add a test for issue #273Andrey Andreev1-1/+2
2012-10-22Raised CI_Loader test coverage to 93%dchill421-1/+1
Signed-off-by: dchill42 <dchill42@gmail.com>
2012-10-14Adapted DB for VFS changes and fixed Common case in Bootstrap.phpdchill421-2/+43
Signed-off-by: dchill42 <dchill42@gmail.com>
2012-06-26Alter test pdo/mysql configAndrey Andreev1-1/+1
2012-06-25Work-around for a failover test (currently DSNs are only built on class ↵Andrey Andreev1-1/+1
initialization)
2012-06-23Rename pdodriver property to subdriver and make it available to all driversAndrey Andreev4-13/+13
2012-06-09Cleanup/optimize tests/mocks/Andrey Andreev14-91/+90
2012-06-04Fix an SQLite3 pconnect() bug + other minor changesAndrey Andreev1-1/+1
2012-05-25Alter the escape like test, since it use raw SQL via query(), the sql ↵Taufan Aditya1-0/+0
statement would need to add ESCAPE clause for database(s) other than mysql
2012-05-24Escape like tests, #136 verificationTaufan Aditya1-0/+21
2012-05-04PDO SQLite bug fixed, for result_objectTaufan Aditya1-0/+0
2012-05-04HAVING clause API code-coverageTaufan Aditya2-4/+8
2012-05-04Trace errorTaufan Aditya1-0/+0
2012-05-04JOIN clause API code-coverageTaufan Aditya1-1/+1
2012-05-03Add user entity into schema skeletonTaufan Aditya1-0/+24
2012-04-05Add select clause testTaufan Aditya1-7/+48
2012-04-04Resolve postgres issue on create tableTaufan Aditya1-3/+2
2012-04-04Fix postgre table datatypeTaufan Aditya1-3/+3
2012-04-04Use more user-friendly method for dummy create dataTaufan Aditya1-10/+3
2012-04-04Add dsn to pgsqlTaufan Aditya2-3/+3
2012-04-04Simple query builder testsTaufan Aditya2-0/+75
2012-04-04Adding schema and initial Query Builder code coverageTaufan Aditya4-4/+4
2012-04-04Add branch to travis listTaufan Aditya1-1/+1
2012-04-04Fix sqlite issue on PHP 5.4 both for native and PDO driverTaufan Aditya3-14/+19
2012-04-04DB Drivers testTaufan Aditya8-0/+109
2012-04-04Set up PDO constant and configurationTaufan Aditya4-4/+99
2012-04-03Alter SQLite tests config to use the sqlite3 driver under PHP 5.4+Andrey Andreev1-4/+5
2012-03-30Multi database setupTaufan Aditya5-3/+134
2012-03-28Add schema folderTaufan Aditya1-0/+0
2012-03-28Travis setup and minor cleanupTaufan Aditya2-8/+37
2012-03-28Preliminary Database TestTaufan Aditya2-0/+43
2012-03-28Adding core and libraries mock classesTaufan Aditya1-0/+0