aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFyorl <gaelreth@gmail.com>2012-07-02 22:44:33 +0100
committerFyorl <gaelreth@gmail.com>2012-07-09 14:08:18 +0100
commit59a7b10f1471ccd652d152578b6d027dcbc3fa7f (patch)
treefd349b9fbed216b8684b886b8d4884cc21ed6b84
parentf2bbbdaaface8ca63a3a70e98140c0e51c5e8b0b (diff)
downloadforums-59a7b10f1471ccd652d152578b6d027dcbc3fa7f.tar
forums-59a7b10f1471ccd652d152578b6d027dcbc3fa7f.tar.gz
forums-59a7b10f1471ccd652d152578b6d027dcbc3fa7f.tar.bz2
forums-59a7b10f1471ccd652d152578b6d027dcbc3fa7f.tar.xz
forums-59a7b10f1471ccd652d152578b6d027dcbc3fa7f.zip
[ticket/10941] Added a comment explaining the incomplete test
PHPBB3-10941
-rw-r--r--tests/functional/fileupload_test.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/functional/fileupload_test.php b/tests/functional/fileupload_test.php
index bbcc0c37c9..1c40041cc5 100644
--- a/tests/functional/fileupload_test.php
+++ b/tests/functional/fileupload_test.php
@@ -14,7 +14,13 @@ class phpbb_functional_fileupload_test extends phpbb_functional_test_case
{
public function test_form_upload()
{
+ // This test is marked as incomplete due to an apparent bug in the
+ // symfony framework which causes it to lose the mimetype of any file
+ // uploaded. Since filespec::is_image() relies on the mimetype, all
+ // image uploads fail. filespec::is_image() is fixed in:
+ // https://github.com/phpbb/phpbb3/pull/833
$this->markTestIncomplete();
+
$path = __DIR__ . '/fixtures/files/';
$this->add_lang('posting');
$this->login();