File tree 2 files changed +0
-12
lines changed
src/Symfony/Component/HttpKernel/Tests
2 files changed +0
-12
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
21
20
*/
22
21
class FragmentHandlerTest extends \PHPUnit_Framework_TestCase
23
22
{
24
- protected function setUp ()
25
- {
26
- if (class_exists ('Symfony\Bridge\PhpUnit\ClockMock ' )) {
27
- ClockMock::register ('Symfony\Component\HttpFoundation\Request ' );
28
- }
29
- }
30
-
31
23
/**
32
24
* @expectedException \InvalidArgumentException
33
25
*/
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
{
@@ -32,9 +31,6 @@ class HttpCacheTestCase extends \PHPUnit_Framework_TestCase
32
31
33
32
protected function setUp ()
34
33
{
35
- if (class_exists ('Symfony\Bridge\PhpUnit\ClockMock ' )) {
36
- ClockMock::register ('Symfony\Component\HttpFoundation\Request ' );
37
- }
38
34
$ this ->kernel = null ;
39
35
40
36
$ this ->cache = null ;
You can’t perform that action at this time.
0 commit comments