Browse Source

fixed previous commit

Fabien Potencier 14 năm trước cách đây
mục cha
commit
7edb1a5f13

+ 1 - 1
src/Symfony/Bundle/AsseticBundle/Tests/TestKernel.php

@@ -16,7 +16,7 @@ use Symfony\Component\HttpKernel\Kernel;
 
 class TestKernel extends Kernel
 {
-    public function registerRootDir()
+    public function getRootDir()
     {
         return __DIR__.'/Resources';
     }

+ 0 - 4
tests/Symfony/Tests/Component/HttpKernel/DataCollector/ConfigDataCollectorTest.php

@@ -60,10 +60,6 @@ class KernelForTest extends Kernel
         return 'testkernel';
     }
 
-    public function registerRootDir()
-    {
-    }
-
     public function registerBundles()
     {
     }

+ 0 - 5
tests/Symfony/Tests/Component/HttpKernel/KernelTest.php

@@ -466,11 +466,6 @@ class KernelForTest extends Kernel
         return $this->bundleMap;
     }
 
-    public function registerRootDir()
-    {
-        return __DIR__;
-    }
-
     public function registerBundles()
     {
     }