You are here

public function HttpCacheTest::testDoesNotCacheResponsesWithoutFreshnessInformationOrAValidator in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/http-kernel/Tests/HttpCache/HttpCacheTest.php \Symfony\Component\HttpKernel\Tests\HttpCache\HttpCacheTest::testDoesNotCacheResponsesWithoutFreshnessInformationOrAValidator()

File

vendor/symfony/http-kernel/Tests/HttpCache/HttpCacheTest.php, line 400

Class

HttpCacheTest

Namespace

Symfony\Component\HttpKernel\Tests\HttpCache

Code

public function testDoesNotCacheResponsesWithoutFreshnessInformationOrAValidator() {
  $this
    ->setNextResponse();
  $this
    ->request('GET', '/');
  $this
    ->assertEquals(200, $this->response
    ->getStatusCode());
  $this
    ->assertTraceNotContains('store');
}