Skip to content

Commit 02bcd53

Browse files
committed
Remove the "do not start session" test
1 parent f9fa707 commit 02bcd53

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/Symfony/Component/HttpKernel/Tests/DataCollector/RequestDataCollectorTest.php

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -71,20 +71,6 @@ public function testCollectWithoutRouteParams()
7171
$this->assertEquals(array(), $c->getRouteParams());
7272
}
7373

74-
public function testKernelResponseDoesNotStartSession()
75-
{
76-
$kernel = $this->getMockBuilder(HttpKernelInterface::class)->getMock();
77-
$request = new Request();
78-
$session = new Session(new MockArraySessionStorage());
79-
$request->setSession($session);
80-
$response = new Response();
81-
82-
$c = new RequestDataCollector();
83-
$c->onKernelResponse(new FilterResponseEvent($kernel, $request, HttpKernelInterface::MASTER_REQUEST, $response));
84-
85-
$this->assertFalse($session->isStarted());
86-
}
87-
8874
/**
8975
* @dataProvider provideControllerCallables
9076
*/

0 commit comments

Comments
 (0)