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 2323use Symfony \Component \HttpKernel \KernelEvents ;
2424use Symfony \Contracts \EventDispatcher \EventDispatcherInterface ;
2525
26+ /**
27+ * @group time-sensitive
28+ */
2629class InlineFragmentRendererTest extends TestCase
2730{
2831 public function testRender ()
@@ -253,16 +256,15 @@ public function testIpAddressOfRangedTrustedProxyIsSetAsRemote()
253256 }
254257
255258 /**
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.
258260 */
259261 private function getKernelExpectingRequest (Request $ request , $ strict = false )
260262 {
261263 $ kernel = $ this ->getMockBuilder (\Symfony \Component \HttpKernel \HttpKernelInterface::class)->getMock ();
262264 $ kernel
263265 ->expects ($ this ->once ())
264266 ->method ('handle ' )
265- ->with ($ this -> equalTo ( $ request, 1 ) )
267+ ->with ($ request )
266268 ->willReturn (new Response ('foo ' ));
267269
268270 return $ kernel ;
You can’t perform that action at this time.
0 commit comments