SilverStripe\AssetAdmin\Tests\Controller\AssetAdminTest::getUploadFile
Signature
protected function getUploadFile(string
$paramName,
[string
$tmpFileName = 'AssetAdminTest.txt'] )
Parameters
$paramName
— string$tmpFileName
— string
Returns
- array
- Emulating an entry in the $_FILES superglobal