You are here

protected function HttpKernelTest::assertResponseEquals in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/http-kernel/Tests/HttpKernelTest.php \Symfony\Component\HttpKernel\Tests\HttpKernelTest::assertResponseEquals()
4 calls to HttpKernelTest::assertResponseEquals()
HttpKernelTest::testHandleWhenTheControllerIsAFunction in vendor/symfony/http-kernel/Tests/HttpKernelTest.php
HttpKernelTest::testHandleWhenTheControllerIsAnArray in vendor/symfony/http-kernel/Tests/HttpKernelTest.php
HttpKernelTest::testHandleWhenTheControllerIsAnObjectWithInvoke in vendor/symfony/http-kernel/Tests/HttpKernelTest.php
HttpKernelTest::testHandleWhenTheControllerIsAStaticArray in vendor/symfony/http-kernel/Tests/HttpKernelTest.php

File

vendor/symfony/http-kernel/Tests/HttpKernelTest.php, line 291

Class

HttpKernelTest

Namespace

Symfony\Component\HttpKernel\Tests

Code

protected function assertResponseEquals(Response $expected, Response $actual) {
  $expected
    ->setDate($actual
    ->getDate());
  $this
    ->assertEquals($expected, $actual);
}