$e->setFilename to $e->setTemplateFile in integrationTest
authornikic <+@ni-po.com>
Wed, 30 Mar 2011 15:37:23 +0000 (17:37 +0200)
committernikic <+@ni-po.com>
Wed, 30 Mar 2011 15:37:23 +0000 (17:37 +0200)
test/Twig/Tests/integrationTest.php

index 63d49ea..2463bf5 100644 (file)
@@ -53,7 +53,7 @@ class Twig_Tests_IntegrationTest extends PHPUnit_Framework_TestCase
         try {
             $template = $twig->loadTemplate('index.twig');
         } catch (Twig_Error_Syntax $e) {
-            $e->setFilename($file);
+            $e->setTemplateFile($file);
 
             throw $e;
         } catch (Exception $e) {