]> git.mxchange.org Git - friendica.git/commitdiff
Test without the file
authorMichael <heluecht@pirati.ca>
Mon, 24 May 2021 05:08:13 +0000 (05:08 +0000)
committerMichael <heluecht@pirati.ca>
Mon, 24 May 2021 05:08:13 +0000 (05:08 +0000)
tests/src/Util/HTTPInputDataTest.php

index 55328e7a431d4347ea75aa37807c4fb9f49b7e33..32e97d9ae98feb299a21c4de5402807f07f950f6 100644 (file)
@@ -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' => [