File tree 2 files changed +0
-8
lines changed
src/Symfony/Component/HttpKernel/Tests
2 files changed +0
-8
lines changed Original file line number Diff line number Diff line change 14
14
use Symfony \Component \HttpKernel \Fragment \FragmentHandler ;
15
15
use Symfony \Component \HttpFoundation \Request ;
16
16
use Symfony \Component \HttpFoundation \Response ;
17
- use Symfony \Bridge \PhpUnit \ClockMock ;
18
17
19
18
/**
20
19
* @group time-sensitive
@@ -25,9 +24,6 @@ class FragmentHandlerTest extends \PHPUnit_Framework_TestCase
25
24
26
25
protected function setUp ()
27
26
{
28
- if (class_exists ('Symfony\Bridge\PhpUnit\ClockMock ' )) {
29
- ClockMock::register ('Symfony\Component\HttpFoundation\Request ' );
30
- }
31
27
$ this ->requestStack = $ this ->getMockBuilder ('Symfony \\Component \\HttpFoundation \\RequestStack ' )
32
28
->disableOriginalConstructor ()
33
29
->getMock ()
Original file line number Diff line number Diff line change 16
16
use Symfony \Component \HttpKernel \HttpCache \HttpCache ;
17
17
use Symfony \Component \HttpKernel \HttpCache \Store ;
18
18
use Symfony \Component \HttpKernel \HttpKernelInterface ;
19
- use Symfony \Bridge \PhpUnit \ClockMock ;
20
19
21
20
class HttpCacheTestCase extends \PHPUnit_Framework_TestCase
22
21
{
@@ -33,9 +32,6 @@ class HttpCacheTestCase extends \PHPUnit_Framework_TestCase
33
32
34
33
protected function setUp ()
35
34
{
36
- if (class_exists ('Symfony\Bridge\PhpUnit\ClockMock ' )) {
37
- ClockMock::register ('Symfony\Component\HttpFoundation\Request ' );
38
- }
39
35
$ this ->kernel = null ;
40
36
41
37
$ this ->cache = null ;
You can’t perform that action at this time.
0 commit comments