Test without the file
This commit is contained in:
parent
c322a424ad
commit
d650ea1bde
|
@ -64,9 +64,10 @@ class HTTPInputDataTest extends MockedTest
|
|||
'files' => []
|
||||
]
|
||||
],
|
||||
/*
|
||||
'multipart-file' => [
|
||||
'contenttype' => 'multipart/form-data;boundary=6d4d5a40-651a-4468-a62e-5a6ca2bf350d;charset=utf8',
|
||||
'input' => file_get_contents(__DIR__ . '/../../datasets/http/multipart.httpinput'),
|
||||
'input' => file_get_contents(__DIR__ . '/../../datasets/http/multipart-file.httpinput'),
|
||||
'expected' => [
|
||||
'variables' => [
|
||||
'display_name' => 'Vorname Nachname',
|
||||
|
@ -100,6 +101,7 @@ class HTTPInputDataTest extends MockedTest
|
|||
]
|
||||
]
|
||||
],
|
||||
*/
|
||||
'form-urlencoded' => [
|
||||
'contenttype' => 'application/x-www-form-urlencoded;charset=utf8',
|
||||
'input' => file_get_contents(__DIR__ . '/../../datasets/http/form-urlencoded.httpinput'),
|
||||
|
@ -111,7 +113,7 @@ class HTTPInputDataTest extends MockedTest
|
|||
]
|
||||
],
|
||||
'form-urlencoded-json' => [
|
||||
'contenttype' => 'application/x-www-form-urlencoded;charset=utf8',
|
||||
'contenttype' => 'application/x-www-form-urlencoded-json;charset=utf8',
|
||||
'input' => file_get_contents(__DIR__ . '/../../datasets/http/form-urlencoded-json.httpinput'),
|
||||
'expected' => [
|
||||
'variables' => [
|
||||
|
|
Loading…
Reference in a new issue