diff options
author | Andrey Andreev <narf@devilix.net> | 2014-02-21 14:01:48 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2014-02-21 14:01:48 +0100 |
commit | 2cf4c9bac558e978d376ef80c4f515d829706c4c (patch) | |
tree | de8c74fc3b7daeaee77a7edc89bb50d9a02dad7d /tests | |
parent | 344cf8061701aba9a2f43798fda11877053f7560 (diff) |
CI_Upload changes
- 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.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/codeigniter/libraries/Upload_test.php | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/codeigniter/libraries/Upload_test.php b/tests/codeigniter/libraries/Upload_test.php index a953d8329..03eb640b7 100644 --- a/tests/codeigniter/libraries/Upload_test.php +++ b/tests/codeigniter/libraries/Upload_test.php @@ -259,10 +259,4 @@ class Upload_test extends CI_TestCase { $this->assertEquals('<p>Error test</p>', $this->upload->display_errors()); } - function test_mimes_types() - { - $this->assertEquals('text/plain', $this->upload->mimes_types('txt')); - $this->assertFalse($this->upload->mimes_types('foobar')); - } - }
\ No newline at end of file |