summaryrefslogtreecommitdiffstats
path: root/tests/codeigniter
AgeCommit message (Collapse)AuthorFilesLines
2015-03-18Fixed bug of clearing POST array before every test.David Woods1-12/+14
Signed-off-by: David Woods <d.woods92@gmail.com>
2015-03-18Corrected incorrect assertion in test_rule_valid_base64David Woods1-1/+1
Signed-off-by: David Woods <d.woods92@gmail.com>
2015-03-18Corrected match, differs, base64, and valid_url test cases.David Woods1-307/+310
Also changed spaces to tabs Signed-off-by: David Woods <d.woods92@gmail.com>
2015-03-17Corrected an invalid test caseDavid Woods1-2/+2
Signed-off-by: David Woods <d.woods92@gmail.com>
2015-03-17Reformatted unit tests for easier debuggingDavid Woods1-114/+265
Signed-off-by: David Woods <d.woods92@gmail.com>
2015-03-17Fixed bugs in form_validation for methods matches, differs, and valid_base64.David Woods1-4/+132
Implemented tests for valid and invalid inputs for all basic rules available for form_validation. The invalid input data currently doesn't pass all tests. Signed-off-by: David Woods <d.woods92@gmail.com>
2015-03-17Created setup and construct for Form_Validation unit testDavid Woods1-0/+35
Signed-off-by: David Woods <d.woods92@gmail.com>
2015-03-10Fixed indentationHeesung Ahn1-66/+65
Signed-off-by:Heesung Ahn <ahn.heesung@gmail.com>
2015-03-10Update Security Unit testHeesung Ahn1-18/+18
Signed-off-by:Heesung Ahn <ahn.heesung@gmail.com>
2015-03-10Update Security Unit testHeesung Ahn1-3/+91
Signed-off-by:Heesung Ahn <ahn.heesung@gmail.com>
2015-03-05adding more img tags Heesung Ahn1-2/+14
Signed-off-by:Heesung Ahn <ahn.heesung@gmail.com>
2015-03-02test_strip_omage_tagsHeesung Ahn1-0/+19
Signed-off-by:Heesung Ahn <ahn.heesung@gmail.com>
2015-02-26Fix .travis.yml for PHP7 and try to fix a DB testAndrey Andreev1-1/+1
2015-02-19Revert last commit & just ignore E_DEPRECATEDAndrey Andreev1-0/+8
2015-02-19OK, finally 'fix' this testAndrey Andreev1-13/+10
2015-02-19test_db_invalid fails tooAndrey Andreev1-6/+12
2015-02-19test_db_failover is failing after 'autoinit' removal ...Andrey Andreev1-0/+3
2015-02-17Fix #3572: CI_Security::_remove_evil_attributes()Andrey Andreev1-0/+12
2015-02-15[ci skip] Fix a PHP7 BC break in a test that wouldn't even runAndrey Andreev1-1/+1
2015-01-21Remove closing blocks at end of PHP filesvlakoff5-11/+0
2015-01-21Make libraries matching controller names loadableAndrey Andreev1-8/+8
2015-01-12Merge branch 'develop' into feature/sessionAndrey Andreev5-45/+37
2015-01-12Fix quoted_printable_encode() testAndrey Andreev1-1/+5
A false positive is triggered when imap_8bit() exists, as it seems to have slightly different output.
2015-01-12Added support for running unit tests on PHP 5.2Dan Bernardic1-11/+12
Signed-off-by: Dan Bernardic <dan.bernardic@gmail.com>
2015-01-11Added a unit test for #3464Dan Bernardic1-1/+6
Signed-off-by: Dan Bernardic <dan.bernardic@gmail.com>
2014-12-16Fix #3419Andrey Andreev1-4/+9
2014-12-15Remove minifier testAndrey Andreev1-10/+0
2014-12-05Fix a filter_uri() testAndrey Andreev1-1/+2
2014-12-05Further changes related to issue #47, PR #3323Andrey Andreev1-17/+3
- Removed a test that was created specifically for the 'convert programmatic characters to entities' feature. - Changed filter_uri() to accept by reference and to not return anything as its only purpose now is to trigger a show_error() call. - Added changelog messages and updated the upgrade instructions.
2014-11-11Fix merge conflictsAndrey Andreev4-8/+14
2014-11-11Fixed testsRazican1-1/+1
Signed-off-by: Razican <admin@razican.com>
2014-11-07Fix #3317 ... MCrypt sucksAndrey Andreev1-3/+4
2014-10-22[ci skip] Update 2 links to relate to bcit-ci/Andrey Andreev2-2/+2
2014-10-10Fix Config_test::test_base_url()Andrey Andreev1-3/+8
2014-10-05Merge branch 'develop' into feature/sessionAndrey Andreev4-463/+585
2014-08-14Skip CI_Encrypt tests if MCrypt is not availableAndrey Andreev1-26/+8
Rel: #3185
2014-07-07Add a backport (compat) for quoted_printable_encode()Andrey Andreev1-0/+115
2014-07-07Fix a few typos and add a backport (compat) for hex2bin()Andrey Andreev1-6/+38
2014-06-19Remove the custom IV option from CI_EncryptionAndrey Andreev1-8/+1
It serves for no practical purpose and can only do harm.
2014-06-02Disable session testsAndrey Andreev1-0/+14
2014-05-23Fix #3057Andrey Andreev1-0/+6
2014-05-09Add hash_equals() to ext/hash compat layerAndrey Andreev1-3/+29
Introduced in PHP 5.6 Beta 1 (unfortunately, still undocumented). RFC: https://wiki.php.net/rfc/timing_attack (Yes, I am aware that the RFC talks about hash_compare(), the function was later renamed in the implementation.)
2014-05-01PHPUnit, what's wrong with you?Andrey Andreev1-2/+0
2014-04-01Discard the unwanted changesvlakoff1-1/+7
2014-04-01Add test for "base_url" determination on server rootvlakoff1-2/+10
2014-03-31Remove test that has become unfitvlakoff1-7/+1
2014-03-18More xss_clean() improvementsAndrey Andreev1-1/+1
Issue described in https://github.com/EllisLab/CodeIgniter/issues/2667#issuecomment-37980030 + a false positive
2014-03-18xss_clean() improvementAndrey Andreev1-0/+6
Fixes this: https://github.com/EllisLab/CodeIgniter/issues/2667#issuecomment-37819186
2014-03-06[ci skip] Fix a test skip messageAndrey Andreev1-1/+1
2014-03-04CI_Encryption: Remove MCrypt 'work-arounds' for CAST-128 compatibilityAndrey Andreev1-12/+4
Turns out it's OpenSSL's fault for performing 16 rounds instead of 12 for key sizes of 5-11 bytes. Reference: http://tools.ietf.org/rfc/rfc2144.txt