We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07ebab3 commit b35f8f5Copy full SHA for b35f8f5
src/Symfony/Component/HttpFoundation/Tests/RequestStackTest.php
@@ -17,6 +17,13 @@
17
18
class RequestStackTest extends TestCase
19
{
20
+ public function testConstruct()
21
+ {
22
+ $request = Request::create('/foo');
23
+ $requestStack = new RequestStack([$request]);
24
+ $this->assertSame($request, $requestStack->getCurrentRequest());
25
+ }
26
+
27
public function testGetCurrentRequest()
28
29
$requestStack = new RequestStack();
0 commit comments