[limb-svn] r6763 - 3.x/trunk/limb/i18n/tests/cases/macro
svn at limb-project.com
svn at limb-project.com
Thu Jan 31 11:31:16 MSK 2008
Author: serega
Date: 2008-01-31 11:31:15 +0300 (Thu, 31 Jan 2008)
New Revision: 6763
URL: http://fisheye.limb-project.com/changelog/limb/?cs=6763
Modified:
3.x/trunk/limb/i18n/tests/cases/macro/lmbI18NDateMacroFilterTest.class.php
Log:
-- lmbI18NDateMacroFilterTest :: _createMacro() removed since lmbBaseMacroTest now creates macro template object with proper config params
Modified: 3.x/trunk/limb/i18n/tests/cases/macro/lmbI18NDateMacroFilterTest.class.php
===================================================================
--- 3.x/trunk/limb/i18n/tests/cases/macro/lmbI18NDateMacroFilterTest.class.php 2008-01-31 08:30:10 UTC (rev 6762)
+++ 3.x/trunk/limb/i18n/tests/cases/macro/lmbI18NDateMacroFilterTest.class.php 2008-01-31 08:31:15 UTC (rev 6763)
@@ -10,28 +10,6 @@
class lmbI18NDateMacroFilterTest extends lmbBaseMacroTest
{
- protected function _createMacro($file)
- {
- $base_dir = LIMB_VAR_DIR . '/tpl';
- $cache_dir = LIMB_VAR_DIR . '/tpl/compiled';
- $macro = new lmbMacroTemplate($file,
- new lmbMacroConfig(
- $cache_dir,
- true,
- true,
- array($base_dir),
- null,
- array('limb/macro/src/filters','limb/i18n/src/macro')
- )
- );
- return $macro;
- }
-
- function tearDown()
- {
- lmbFs :: rm(LIMB_VAR_DIR . '/tpl');
- }
-
function testSetDateByString()
{
$code = '{$#var|i18n_date:"en_US", "string"}';
More information about the limb-svn
mailing list