aboutsummaryrefslogtreecommitdiffstats
path: root/tests/mock
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2015-07-16 16:30:59 +0200
committerMarc Alexander <admin@m-a-styles.de>2015-09-09 08:28:08 +0200
commit46e3d8219671e996677be1943a7e3c80f1039693 (patch)
tree51097a0638fbbb49adbb6b51b76f763b53ffca30 /tests/mock
parent3e99816fa2f184b859d47308254aa8f07d68f1dd (diff)
downloadforums-46e3d8219671e996677be1943a7e3c80f1039693.tar
forums-46e3d8219671e996677be1943a7e3c80f1039693.tar.gz
forums-46e3d8219671e996677be1943a7e3c80f1039693.tar.bz2
forums-46e3d8219671e996677be1943a7e3c80f1039693.tar.xz
forums-46e3d8219671e996677be1943a7e3c80f1039693.zip
[ticket/13904] Add more tests and test cases
PHPBB3-13904
Diffstat (limited to 'tests/mock')
-rw-r--r--tests/mock/fileupload.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/mock/fileupload.php b/tests/mock/fileupload.php
index 8cc4d77ea1..5a0afc6cd3 100644
--- a/tests/mock/fileupload.php
+++ b/tests/mock/fileupload.php
@@ -19,9 +19,10 @@ class phpbb_mock_fileupload
{
public $max_filesize = 100;
public $error_prefix = '';
+ public $valid_dimensions = true;
public function valid_dimensions($filespec)
{
- return true;
+ return $this->valid_dimensions;
}
}