1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/13904] Add more tests and test cases

PHPBB3-13904
This commit is contained in:
Marc Alexander
2015-07-16 16:30:59 +02:00
parent 3e99816fa2
commit 46e3d82196
4 changed files with 49 additions and 2 deletions

View File

@@ -99,6 +99,7 @@ class phpbb_functional_fileupload_remote_test extends phpbb_functional_test_case
$file = $upload->handle_upload('remote', self::$root_url . 'styles/prosilver/theme/images/forum_read.gif');
$this->assertEquals(0, sizeof($file->error));
$this->assertTrue(file_exists($file->get('filename')));
$this->assertTrue($file->is_uploaded());
}
public function test_too_large()