summaryrefslogtreecommitdiffstats
path: root/tests/codeigniter/libraries/Upload_test.php
AgeCommit message (Collapse)AuthorFilesLines
2016-12-14Move csrf_verify() call out of CI_InputAndrey Andreev1-1/+1
2016-08-10Use getMockBuilder() in PHPUnit instead of the deprecated getMock()Andrey Andreev1-2/+2
2016-07-28Remove dead code written for PHP 5.2Andrey Andreev1-8/+4
2014-02-21Add test cases for CI_Upload::__construct(), CI_Upload::initialize()Andrey Andreev1-3/+44
2014-02-21CI_Upload changesAndrey Andreev1-6/+0
- Method chaining support. - A more abstract resetting of the default settings. - Added an option to initialize() to disable resetting to default settings. - Removed method mimes_types() and slightly optimized chunks of code where it was used. - Added the ability to pass allowed_types as an array.
2014-02-20Remove a few empty 'mock' classesAndrey Andreev1-1/+1
2013-01-30Remove tests for now non-existent method CI_Upload::clean_file_name()Andrey Andreev1-6/+0
See 7e5597782a589e4171ca08abdd9ce1a185542ff4
2012-11-25Replaced Mock_Core_Lang with PHPUnit mockupsdchill421-1/+2
Signed-off-by: dchill42 <dchill42@gmail.com>
2012-10-21Merge branch 'develop' of git://github.com/EllisLab/CodeIgniter into ↵dchill421-5/+5
load_config_units
2012-10-18Marked tests that can't easily be tests as skippedAlex Bilbie1-5/+5
Signed-off-by: Alex Bilbie <alex@alexbilbie.com>
2012-10-12Integrated vfsStream better and made paths constants VFS-baseddchill421-27/+30
Signed-off-by: dchill42 <dchill42@gmail.com>
2012-08-30Finished the final tests (except do_upload)Alex Bilbie1-7/+46
2012-08-30Added initial upload library testsAlex Bilbie1-0/+231