Skip to content

Commit

Permalink
win: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rostenkowski committed May 8, 2016
1 parent a64b345 commit 4738752
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Storage.upload.phpt
Expand Up @@ -31,8 +31,8 @@ $meta = new ImageEntity();
$tmpDir = __DIR__ . '/tmp';
$tmpName = uniqid('upload');

exec("mkdir $tmpDir");
exec("cp $sampleDir/$sampleName $tmpDir/$tmpName");
mkdir("mkdir $tmpDir");
copy("$sampleDir/$sampleName", "$tmpDir/$tmpName");

$uploadedFile = new FileUpload([
'name' => $sampleName,
Expand Down

0 comments on commit 4738752

Please sign in to comment.