8000 Merge branch '2.3' into 2.7 · symfony/symfony@c24ca43 · GitHub
[go: up one dir, main page]

Skip to content

Commit c24ca43

Browse files
Merge branch '2.3' into 2.7
* 2.3: [HttpKernel] Clean clock-mock injection, replaced by #16455 Conflicts: src/Symfony/Component/HttpKernel/Tests/Fragment/FragmentHandlerTest.php
2 parents 4ccfe49 + 5298940 commit c24ca43

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

src/Symfony/Component/HttpKernel/Tests/Fragment/FragmentHandlerTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
use Symfony\Component\HttpKernel\Fragment\FragmentHandler;
1515
use Symfony\Component\HttpFoundation\Request;
1616
use Symfony\Component\HttpFoundation\Response;
17-
use Symfony\Bridge\PhpUnit\ClockMock;
1817

1918
/**
2019
* @group time-sensitive
@@ -25,9 +24,6 @@ class FragmentHandlerTest extends \PHPUnit_Framework_TestCase
2524

2625
protected function setUp()
2726
{
28-
if (class_exists('Symfony\Bridge\PhpUnit\ClockMock')) {
29-
ClockMock::register('Symfony\Component\HttpFoundation\Request');
30-
}
3127
$this->requestStack = $this->getMockBuilder('Symfony\\Component\\HttpFoundation\\RequestStack')
3228
->disableOriginalConstructor()
3329
->getMock()

src/Symfony/Component/HttpKernel/Tests/HttpCache/HttpCacheTestCase.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
use Symfony\Component\HttpKernel\HttpCache\HttpCache;
1717
use Symfony\Component\HttpKernel\HttpCache\Store;
1818
use Symfony\Component\HttpKernel\HttpKernelInterface;
19-
use Symfony\Bridge\PhpUnit\ClockMock;
2019

2120
class HttpCacheTestCase extends \PHPUnit_Framework_TestCase
2221
{
@@ -33,9 +32,6 @@ class HttpCacheTestCase extends \PHPUnit_Framework_TestCase
3332

3433
protected function setUp()
3534
{
36-
if (class_exists('Symfony\Bridge\PhpUnit\ClockMock')) {
37-
ClockMock::register('Symfony\Component\HttpFoundation\Request');
38-
}
3935
$this->kernel = null;
4036

4137
$this->cache = null;

0 commit comments

Comments
 (0)
0