update test to include a form field
authorMichael Wallner <mike@php.net>
Fri, 24 Apr 2015 06:48:36 +0000 (08:48 +0200)
committerMichael Wallner <mike@php.net>
Fri, 24 Apr 2015 06:48:36 +0000 (08:48 +0200)
tests/002.phpt

index fcde3a644ac58cb4160ac26c2a7cc5e6605dad0a..e46df770205d44eeaa96b5ff962e18eee3cac5bb 100644 (file)
@@ -62,6 +62,10 @@ Content-Type: application/octet-stream
     }
 }
 
+------------------------------6e182425881c
+Content-Disposition: form-data; name="user"
+
+mike
 ------------------------------6e182425881c--
 --FILE--
 <?php
@@ -70,7 +74,9 @@ var_dump($_POST, $_FILES);
 
 ?>
 --EXPECTF--
-array(0) {
+array(1) {
+  ["user"]=>
+  string(4) "mike"
 }
 array(2) {
   ["LICENSE"]=>