summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2013-01-30 12:59:19 +0100
committerAndrey Andreev <narf@bofh.bg>2013-01-30 12:59:19 +0100
commited92580e028b17230723807c51503e42f07cdb8e (patch)
treecda4a2931fcb23a032120fd244b54561bd48f78d
parent8151cbb586edf565a57e33287b01222d9c4a85b6 (diff)
Remove tests for now non-existent method CI_Upload::clean_file_name()
-rw-r--r--tests/codeigniter/libraries/Upload_test.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/codeigniter/libraries/Upload_test.php b/tests/codeigniter/libraries/Upload_test.php
index 1bd8f1430..4d9e4a46e 100644
--- a/tests/codeigniter/libraries/Upload_test.php
+++ b/tests/codeigniter/libraries/Upload_test.php
@@ -208,12 +208,6 @@ class Upload_test extends CI_TestCase {
$this->assertEquals('', $this->upload->get_extension('hello'));
}
- function test_clean_file_name()
- {
- $this->assertEquals('hello.txt', $this->upload->clean_file_name('hello.txt'));
- $this->assertEquals('hello.txt', $this->upload->clean_file_name('%253chell>o.txt'));
- }
-
function test_limit_filename_length()
{
$this->assertEquals('hello.txt', $this->upload->limit_filename_length('hello.txt', 10));