aboutsummaryrefslogtreecommitdiffstats
path: root/tests/files
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2015-09-09 10:43:12 +0200
committerMarc Alexander <admin@m-a-styles.de>2015-09-09 10:43:12 +0200
commit70ad0c6a8f7d16b767aa78cde2acc9a3b3512e6f (patch)
tree2532298ac7bad2350af768a29d67bdc333cb2d8f /tests/files
parent327e36a4d68ff9607967af52ef8f6a00c60343ff (diff)
downloadforums-70ad0c6a8f7d16b767aa78cde2acc9a3b3512e6f.tar
forums-70ad0c6a8f7d16b767aa78cde2acc9a3b3512e6f.tar.gz
forums-70ad0c6a8f7d16b767aa78cde2acc9a3b3512e6f.tar.bz2
forums-70ad0c6a8f7d16b767aa78cde2acc9a3b3512e6f.tar.xz
forums-70ad0c6a8f7d16b767aa78cde2acc9a3b3512e6f.zip
[ticket/13904] Add language entries for error messages in upload class
PHPBB3-13904
Diffstat (limited to 'tests/files')
-rw-r--r--tests/files/upload_test.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/files/upload_test.php b/tests/files/upload_test.php
index 1716eca6c9..c41204a0d5 100644
--- a/tests/files/upload_test.php
+++ b/tests/files/upload_test.php
@@ -110,9 +110,9 @@ class phpbb_files_upload_test extends phpbb_test_case
array(UPLOAD_ERR_FORM_SIZE, 'WRONG_FILESIZE'),
array(UPLOAD_ERR_PARTIAL, 'PARTIAL_UPLOAD'),
array(UPLOAD_ERR_NO_FILE, 'NOT_UPLOADED'),
- array(UPLOAD_ERR_NO_TMP_DIR, 'Temporary folder could not be found. Please check your PHP installation.'),
- array(UPLOAD_ERR_CANT_WRITE, 'Can’t write to temporary folder.'),
- array(UPLOAD_ERR_EXTENSION, 'A PHP extension has stopped the file upload.'),
+ array(UPLOAD_ERR_NO_TMP_DIR, 'NO_TEMP_DIR'),
+ array(UPLOAD_ERR_CANT_WRITE, 'NO_TEMP_DIR'),
+ array(UPLOAD_ERR_EXTENSION, 'PHP_UPLOAD_STOPPED'),
array(9, false),
);
}