You are here

protected function StoreTest::setUp in Zircon Profile 8

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

File

vendor/symfony/http-kernel/Tests/HttpCache/StoreTest.php, line 24

Class

StoreTest

Namespace

Symfony\Component\HttpKernel\Tests\HttpCache

Code

protected function setUp() {
  $this->request = Request::create('/');
  $this->response = new Response('hello world', 200, array());
  HttpCacheTestCase::clearDirectory(sys_get_temp_dir() . '/http_cache');
  $this->store = new Store(sys_get_temp_dir() . '/http_cache');
}