From 59a7b10f1471ccd652d152578b6d027dcbc3fa7f Mon Sep 17 00:00:00 2001 From: Fyorl Date: Mon, 2 Jul 2012 22:44:33 +0100 Subject: [PATCH] [ticket/10941] Added a comment explaining the incomplete test PHPBB3-10941 --- tests/functional/fileupload_test.php | 6 ++++++ 1 file changed, 6 insertions(+) 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();