Browse Source

fix unit test

tags/3.0.0-alpha1
Paul Klimov 7 years ago
parent
commit
28b26fb74b
  1. 6
      tests/framework/web/UploadedFileTest.php

6
tests/framework/web/UploadedFileTest.php

@ -27,10 +27,10 @@ class UploadedFileTest extends TestCase
private function generateFakeFileData()
{
return [
'name' => md5(random_int()),
'tmp_name' => md5(random_int()),
'name' => md5(mt_rand()),
'tmp_name' => md5(mt_rand()),
'type' => 'image/jpeg',
'size' => random_int(1000, 10000),
'size' => mt_rand(1000, 10000),
'error' => 0,
];
}

Loading…
Cancel
Save