@@ -62,13 +62,13 @@ discard block |
||
62 | 62 | $this->command = new DumpCommand(); |
63 | 63 | $this->reflectionClass = new \ReflectionClass('\Evheniy\HTML5CacheBundle\Command\DumpCommand'); |
64 | 64 | $this->container = new Container(); |
65 | - $this->container->set('twig', new TwigEngine(new \Twig_Environment(new \Twig_Loader_Array(array('HTML5CacheBundle::cache.html.twig' => file_get_contents(dirname(__FILE__) . '/../../Resources/views/cache.html.twig')))), new TemplateNameParser())); |
|
65 | + $this->container->set('twig', new TwigEngine(new \Twig_Environment(new \Twig_Loader_Array(array('HTML5CacheBundle::cache.html.twig' => file_get_contents(dirname(__FILE__).'/../../Resources/views/cache.html.twig')))), new TemplateNameParser())); |
|
66 | 66 | |
67 | - $this->webPath = dirname(__FILE__) . '/web'; |
|
67 | + $this->webPath = dirname(__FILE__).'/web'; |
|
68 | 68 | $this->filesystem = new Filesystem(); |
69 | 69 | $this->filesystem->mkdir($this->webPath); |
70 | - $this->filesystem->touch($this->webPath . '/test.png'); |
|
71 | - $this->filesystem->touch($this->webPath . '/test.gif'); |
|
70 | + $this->filesystem->touch($this->webPath.'/test.png'); |
|
71 | + $this->filesystem->touch($this->webPath.'/test.gif'); |
|
72 | 72 | |
73 | 73 | $this->setMockFields(); |
74 | 74 | } |
@@ -287,8 +287,8 @@ discard block |
||
287 | 287 | */ |
288 | 288 | private function parseFile() |
289 | 289 | { |
290 | - $this->assertTrue($this->filesystem->exists(array($this->webPath . '/cache.manifest'))); |
|
291 | - $data = file_get_contents($this->webPath . '/cache.manifest'); |
|
290 | + $this->assertTrue($this->filesystem->exists(array($this->webPath.'/cache.manifest'))); |
|
291 | + $data = file_get_contents($this->webPath.'/cache.manifest'); |
|
292 | 292 | $this->assertRegExp('/CACHE MANIFEST/', $data); |
293 | 293 | $this->assertRegExp('/CACHE:/', $data); |
294 | 294 | $this->assertRegExp('/NETWORK:/', $data); |