aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2019-10-19 17:35:25 +0200
committerMarc Alexander <admin@m-a-styles.de>2019-10-19 17:35:25 +0200
commit6eb00414536f583e4e1ac5fc72cb00025f55b2ce (patch)
tree1f8dcce82b2fd548c027b03efb292798f9d8e274 /tests
parent[ticket/16141] Add tests for plupload's get_chunk_size() (diff)
downloadphpbb-6eb00414536f583e4e1ac5fc72cb00025f55b2ce.tar.gz
phpbb-6eb00414536f583e4e1ac5fc72cb00025f55b2ce.tar.bz2
phpbb-6eb00414536f583e4e1ac5fc72cb00025f55b2ce.zip
[ticket/16141] Add assertion for memory limit divided by two
PHPBB3-16141
Diffstat (limited to 'tests')
-rw-r--r--tests/plupload/plupload_test.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/plupload/plupload_test.php b/tests/plupload/plupload_test.php
index 65141f4f2a..eb4657afbc 100644
--- a/tests/plupload/plupload_test.php
+++ b/tests/plupload/plupload_test.php
@@ -88,6 +88,11 @@ class phpbb_plupload_test extends phpbb_test_case
'upload_max_filesize' => 1000,
'post_max_size' => 600,
], 300],
+ [[
+ 'memory_limit' => 1000,
+ 'upload_max_filesize' => 2000,
+ 'post_max_size' => 3000,
+ ], 500],
];
}