Преглед изворни кода

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

Pascal Borreli пре 14 година
родитељ
комит
47948c8d2b
1 измењених фајлова са 1 додато и 1 уклоњено
  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),