コード例 #1
0
ファイル: upload_test.php プロジェクト: VOLKERMORD/phpbb
 public function test_reset_vars()
 {
     $upload = new \phpbb\files\upload($this->filesystem, $this->factory, $this->language, $this->php_ini, $this->request, $this->phpbb_root_path);
     $upload->set_max_filesize(500);
     $this->assertEquals(500, $upload->max_filesize);
     $upload->reset_vars();
     $this->assertEquals(0, $upload->max_filesize);
 }