File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 23
23
use Symfony \Component \HttpKernel \KernelEvents ;
24
24
use Symfony \Contracts \EventDispatcher \EventDispatcherInterface ;
25
25
26
+ /**
27
+ * @group time-sensitive
28
+ */
26
29
class InlineFragmentRendererTest extends TestCase
27
30
{
28
31
public function testRender ()
@@ -253,16 +256,15 @@ public function testIpAddressOfRangedTrustedProxyIsSetAsRemote()
253
256
}
254
257
255
258
/**
256
- * Creates a Kernel expecting a request equals to $request
257
- * Allows delta in comparison in case REQUEST_TIME changed by 1 second.
259
+ * Creates a Kernel expecting a request equals to $request.
258
260
*/
259
261
private function getKernelExpectingRequest (Request $ request , $ strict = false )
260
262
{
261
263
$ kernel = $ this ->getMockBuilder (\Symfony \Component \HttpKernel \HttpKernelInterface::class)->getMock ();
262
264
$ kernel
263
265
->expects ($ this ->once ())
264
266
->method ('handle ' )
265
- ->with ($ this -> equalTo ( $ request, 1 ) )
267
+ ->with ($ request )
266
268
->willReturn (new Response ('foo ' ));
267
269
268
270
return $ kernel ;
You can’t perform that action at this time.
0 commit comments