summaryrefslogtreecommitdiffstats
path: root/tests/codeigniter/core/URI_test.php
AgeCommit message (Collapse)AuthorFilesLines
2015-01-21Remove closing blocks at end of PHP filesvlakoff1-3/+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-11Fixed testsRazican1-1/+1
Signed-off-by: Razican <admin@razican.com>
2014-10-22[ci skip] Update 2 links to relate to bcit-ci/Andrey Andreev1-1/+1
2014-01-16URI Routing overhaulAndrey Andreev1-18/+10
- Allow multiple levels of controller directories (supersedes PRs #390, #2439) - Add support for per-directory 'defaul_controller' and '404_override' (resolves issue #2611; supersedes PR #939) - Fixed a bug where default_controller was called instead of triggering 404 if the current route is inside a directory - Removed a few calls from CI_Router to CI_URI that made a necessity for otherwise internal CI_URI methods to be public: - Removed CI_URI::_fetch_uri_string() and moved its logic into CI_URI::__construct() - Removed CI_URI::_remove_url_suffix, CI_URI::_explode_segments() and moved their logic into CI_URI::_set_uri_string() - Removed CI_URI::_reindex_segments() altogether ( doesn't need further manipulation, while is public anyway and can be properly (and more effectively) replaced on the spot)
2014-01-15CI_URI changes related to the 'permitted_uri_chars' settingAndrey Andreev1-9/+6
- Initialize and cache the value in the class constructor instead of searching for it every time - Removed the preg_quote() call from _filter_uri() to allow more fine-tuning from configuration - Renamed _filter_uri() to filter_uri() - it was public anyway and using it cannot break anything Related: issue #2799
2013-02-15Various cosmetic fixesvlakoff1-1/+1
2012-10-23Fix issue #779Andrey Andreev1-6/+6
2012-06-14Comment out _set_uri_string() test as it is no longer callable from outside ↵Andrey Andreev1-0/+5
the class
2012-06-09Cleanup/optimize tests/codeigniter/Andrey Andreev1-131/+94
2012-03-28Adding autoloader and mocks directoryTaufan Aditya1-32/+1
2012-03-10Fix test errors in Loader_test.php and URI_test.phpHamza Bhatti1-2/+2
Change exceptions from Exception to RuntimeException since PHPUnit 3.6 doesn't like you to expect generic exceptions. The error it gives is: InvalidArgumentException: You must not expect the generic exception class travis-ci.org/#!/tiyowan/CodeIgniter/builds/832518 This issue addressed by using exceptions that are more specific.
2011-08-28Added tests for CI_URI class. Made modifications to core class whichStephen1-0/+344
helped with isolation for testing.