Skip to content

Commit

Permalink
improve tests to Validator/File
Browse files Browse the repository at this point in the history
  • Loading branch information
Zaszczyk committed Jul 20, 2017
1 parent aa4fdcc commit 3953972
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/unit/Validation/Validator/FileTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ class FileTest extends UnitTest
*/
public function testSingleField()
{
$_SERVER['REQUEST_METHOD'] = 'POST';
$_SERVER['CONTENT_LENGTH'] = 1024;

$this->specify(
'Test file validator.',
function () {
Expand Down

0 comments on commit 3953972

Please sign in to comment.