update test to include a form field
[m6w6/ext-apfd] / tests / 002.phpt
index 3a366c6038ab81ffb2831c23657f4f4eada1e4a1..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"]=>
@@ -84,7 +90,7 @@ array(2) {
     ["error"]=>
     int(0)
     ["size"]=>
-    int(13%d)
+    int(1340)
   }
   ["composer"]=>
   array(5) {
@@ -99,4 +105,4 @@ array(2) {
     ["size"]=>
     int(550)
   }
-}
\ No newline at end of file
+}