Browse Source

[Form] Fixed bug creating empty "1" directory in root

Pascal Borreli 14 years ago
parent
commit
47948c8d2b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/Symfony/Tests/Component/Form/AbstractLayoutTest.php

+ 1 - 1
tests/Symfony/Tests/Component/Form/AbstractLayoutTest.php

@@ -30,7 +30,7 @@ abstract class AbstractLayoutTest extends \PHPUnit_Framework_TestCase
 
         $dispatcher = new EventDispatcher();
         $this->csrfProvider = $this->getMock('Symfony\Component\Form\Extension\Csrf\CsrfProvider\CsrfProviderInterface');
-        $storage = new \Symfony\Component\HttpFoundation\File\TemporaryStorage('foo', 1, \sys_get_temp_dir());
+        $storage = new \Symfony\Component\HttpFoundation\File\TemporaryStorage('foo', \sys_get_temp_dir());
 
         $this->factory = new FormFactory(array(
             new CoreExtension($storage),