Skip to content

Commit

Permalink
update test to include a form field
Browse files Browse the repository at this point in the history
  • Loading branch information
m6w6 committed Apr 24, 2015
1 parent 4788802 commit 6e8088d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/002.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ Content-Type: application/octet-stream
}
}

------------------------------6e182425881c
Content-Disposition: form-data; name="user"

mike
------------------------------6e182425881c--
--FILE--
<?php
Expand All @@ -70,7 +74,9 @@ var_dump($_POST, $_FILES);

?>
--EXPECTF--
array(0) {
array(1) {
["user"]=>
string(4) "mike"
}
array(2) {
["LICENSE"]=>
Expand Down

0 comments on commit 6e8088d

Please sign in to comment.