Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 02bcd53

Browse filesBrowse files
committed
Remove the "do not start session" test
1 parent f9fa707 commit 02bcd53
Copy full SHA for 02bcd53

File tree

1 file changed

+0
-14
lines changed
Filter options

1 file changed

+0
-14
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpKernel/Tests/DataCollector/RequestDataCollectorTest.php
-14Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.