Tests/Functional/Command/RemoveCacheTest.php 1 location
|
@@ 26-37 (lines=12) @@
|
| 23 |
|
|
| 24 |
|
protected $cacheRoot; |
| 25 |
|
|
| 26 |
|
public function setUp() |
| 27 |
|
{ |
| 28 |
|
parent::setUp(); |
| 29 |
|
|
| 30 |
|
$this->client = $this->createClient(); |
| 31 |
|
|
| 32 |
|
$this->webRoot = self::$kernel->getContainer()->getParameter('kernel.root_dir').'/web'; |
| 33 |
|
$this->cacheRoot = $this->webRoot.'/media/cache'; |
| 34 |
|
|
| 35 |
|
$this->filesystem = new Filesystem(); |
| 36 |
|
$this->filesystem->remove($this->cacheRoot); |
| 37 |
|
} |
| 38 |
|
|
| 39 |
|
public function testExecuteSuccessfullyWithEmptyCacheAndWithoutParameters() |
| 40 |
|
{ |
Tests/Functional/Command/ResolveCacheTest.php 1 location
|
@@ 26-37 (lines=12) @@
|
| 23 |
|
|
| 24 |
|
protected $cacheRoot; |
| 25 |
|
|
| 26 |
|
public function setUp() |
| 27 |
|
{ |
| 28 |
|
parent::setUp(); |
| 29 |
|
|
| 30 |
|
$this->client = $this->createClient(); |
| 31 |
|
|
| 32 |
|
$this->webRoot = self::$kernel->getContainer()->getParameter('kernel.root_dir').'/web'; |
| 33 |
|
$this->cacheRoot = $this->webRoot.'/media/cache'; |
| 34 |
|
|
| 35 |
|
$this->filesystem = new Filesystem(); |
| 36 |
|
$this->filesystem->remove($this->cacheRoot); |
| 37 |
|
} |
| 38 |
|
|
| 39 |
|
public function testShouldResolveWithEmptyCache() |
| 40 |
|
{ |
Tests/Functional/Controller/ImagineControllerTest.php 1 location
|
@@ 29-40 (lines=12) @@
|
| 26 |
|
*/ |
| 27 |
|
protected $filesystem; |
| 28 |
|
|
| 29 |
|
public function setUp() |
| 30 |
|
{ |
| 31 |
|
parent::setUp(); |
| 32 |
|
|
| 33 |
|
$this->client = $this->createClient(); |
| 34 |
|
|
| 35 |
|
$this->webRoot = self::$kernel->getContainer()->getParameter('kernel.root_dir').'/web'; |
| 36 |
|
$this->cacheRoot = $this->webRoot.'/media/cache'; |
| 37 |
|
|
| 38 |
|
$this->filesystem = new Filesystem(); |
| 39 |
|
$this->filesystem->remove($this->cacheRoot); |
| 40 |
|
} |
| 41 |
|
|
| 42 |
|
public function testCouldBeGetFromContainer() |
| 43 |
|
{ |