Skip to content

Commit 91e4b01

Browse files
committed
Fix ServerRequestFactoryTest failing test
For random order seed 1693489393. Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
1 parent b55e2ab commit 91e4b01

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎test/classes/Http/Factory/ServerRequestFactoryTest.php‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,10 @@ public function testFromGlobals2(string $provider, string $uriFactoryProvider, s
151151
(new ReflectionProperty(UriFactory::class, 'providers'))->setValue(null, [$uriFactoryProvider]);
152152
$serverRequestFactory = new ServerRequestFactory(new $provider());
153153

154+
$_GET = [];
154155
$_GET['foo'] = 'bar';
155156
$_GET['blob'] = 'baz';
157+
$_POST = [];
156158
$_POST['input1'] = 'value1';
157159
$_POST['input2'] = 'value2';
158160
$_POST['input3'] = '';

0 commit comments

Comments
 (0)