mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 18:34:27 +02:00
PHP 5.2 compatibility
This commit is contained in:
@@ -19,7 +19,7 @@ class FilterTest extends PHPUnit_Smarty
|
|||||||
|
|
||||||
public function setUp()
|
public function setUp()
|
||||||
{
|
{
|
||||||
$this->setUpSmarty(__DIR__);
|
$this->setUpSmarty(dirname(__FILE__));
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testInit()
|
public function testInit()
|
||||||
|
@@ -6,7 +6,7 @@
|
|||||||
* @author Uwe Tews
|
* @author Uwe Tews
|
||||||
*/
|
*/
|
||||||
|
|
||||||
include_once __DIR__ . '/../_shared/CacheResourceTestCommon.php';
|
include_once dirname(__FILE__) . '/../_shared/CacheResourceTestCommon.php';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* class for cache resource memcache tests
|
* class for cache resource memcache tests
|
||||||
@@ -31,7 +31,7 @@ class CacheResourceCustomMemcacheTest extends CacheResourceTestCommon
|
|||||||
$this->markTestSkipped('Memcache not available');
|
$this->markTestSkipped('Memcache not available');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$this->setUpSmarty(__DIR__);
|
$this->setUpSmarty(dirname(__FILE__));
|
||||||
parent::setUp();
|
parent::setUp();
|
||||||
$this->smarty->setCachingType('memcachetest');
|
$this->smarty->setCachingType('memcachetest');
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user