Пример #1
0
 public function testSetBrowserType()
 {
     $name = 'upload';
     $upload = new Upload($name);
     $upload->setBrowserType(Upload::BROWSER_DROPZONE);
     $this->assertEquals($upload->getBrowserType(), Upload::BROWSER_DROPZONE);
 }