[limb-svn] r6773 - 3.x/trunk/limb/macro/tests/cases/compiler

svn at limb-project.com svn at limb-project.com
Thu Feb 7 14:11:44 MSK 2008


Author: korchasa
Date: 2008-02-07 14:11:44 +0300 (Thu, 07 Feb 2008)
New Revision: 6773
URL: http://fisheye.limb-project.com/changelog/limb/?cs=6773

Modified:
   3.x/trunk/limb/macro/tests/cases/compiler/lmbMacroTagDictionaryTest.class.php
Log:
 -- fix configuration option 'tags_scan_dir'

Modified: 3.x/trunk/limb/macro/tests/cases/compiler/lmbMacroTagDictionaryTest.class.php
===================================================================
--- 3.x/trunk/limb/macro/tests/cases/compiler/lmbMacroTagDictionaryTest.class.php	2008-02-07 11:10:41 UTC (rev 6772)
+++ 3.x/trunk/limb/macro/tests/cases/compiler/lmbMacroTagDictionaryTest.class.php	2008-02-07 11:11:44 UTC (rev 6773)
@@ -77,7 +77,10 @@
  */
 class Bar{$rnd}Tag extends lmbMacroTag{}
 EOD;
-    file_put_contents($file = LIMB_VAR_DIR . '/tags/' . $rnd . '.tag.php', $contents);
+    $config = $this->_createMacroConfig();
+    $config['tags_scan_dirs'] = array($this->cache_dir);
+    
+    file_put_contents($file = $config['tags_scan_dirs'][0]. $rnd . '.tag.php', $contents);
 
     $tag_info1 = new lmbMacroTagInfo("foo_$rnd", "Foo{$rnd}Tag");
     $tag_info1->setFile($file);



More information about the limb-svn mailing list