Fixing use of non-existent method name.
authorMark Story <mark@mark-story.com>
Wed, 30 Mar 2011 11:32:06 +0000 (07:32 -0400)
committerMark Story <mark@mark-story.com>
Wed, 30 Mar 2011 11:32:06 +0000 (07:32 -0400)
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) {