コード例 #1
0
ファイル: upload_test.php プロジェクト: VOLKERMORD/phpbb
 /**
  * @dataProvider data_internal_error
  */
 public function test_assign_internal_error($error_code, $expected)
 {
     $upload = new \phpbb\files\upload($this->filesystem, $this->factory, $this->language, $this->php_ini, $this->request, $this->phpbb_root_path);
     $this->assertSame($expected, $upload->assign_internal_error($error_code));
 }