You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shindig.apache.org by bh...@apache.org on 2011/01/18 15:49:32 UTC

svn commit: r1060400 - /shindig/trunk/php/test/gadgets/TemplateParserTest.php

Author: bhofmann
Date: Tue Jan 18 14:49:32 2011
New Revision: 1060400

URL: http://svn.apache.org/viewvc?rev=1060400&view=rev
Log:
fixed TemplateParserTest which failed because of added type hinting in TemplateLibrary class

Modified:
    shindig/trunk/php/test/gadgets/TemplateParserTest.php

Modified: shindig/trunk/php/test/gadgets/TemplateParserTest.php
URL: http://svn.apache.org/viewvc/shindig/trunk/php/test/gadgets/TemplateParserTest.php?rev=1060400&r1=1060399&r2=1060400&view=diff
==============================================================================
--- shindig/trunk/php/test/gadgets/TemplateParserTest.php (original)
+++ shindig/trunk/php/test/gadgets/TemplateParserTest.php Tue Jan 18 14:49:32 2011
@@ -34,7 +34,7 @@ class TemplateParserTest extends PHPUnit
     $doc = new DomDocument();
     $doc->loadXml($viewNode);
     $contentBlocks = $doc->getElementsByTagName('script');
-    $library = new TemplateLibrary(null);
+    $library = new TemplateLibrary(new GadgetContext('GADGET'));
     $parser = new TemplateParser();
     $tags = array();
     foreach ($contentBlocks as $content) {