mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 02:44:27 +02:00
Update file resource tests
This commit is contained in:
@@ -1 +0,0 @@
|
||||
templates_2
|
@@ -1 +0,0 @@
|
||||
php hello world
|
@@ -1,5 +0,0 @@
|
||||
{block name="alpha"}templates_3{/block}
|
||||
{block name="bravo"}
|
||||
{block name="bravo_1"}templates_3{/block}
|
||||
{block name="bravo_2"}templates_3{/block}
|
||||
{/block}
|
@@ -1,3 +0,0 @@
|
||||
{block name="alpha"}templates_4{/block}
|
||||
{block name="bravo"}templates_4{/block}
|
||||
{block name="charlie"}templates_4{/block}
|
@@ -7,7 +7,7 @@
|
||||
* @author Rodney Rehm
|
||||
* @backupStaticAttributes enabled
|
||||
*/
|
||||
class IndexedFileResourceTest extends PHPUnit_Smarty
|
||||
class FileResourceIndexedTest extends PHPUnit_Smarty
|
||||
{
|
||||
public function setUp()
|
||||
{
|
||||
@@ -16,8 +16,12 @@ class IndexedFileResourceTest extends PHPUnit_Smarty
|
||||
// note that 10 is a string!
|
||||
$this->smarty->addTemplateDir(__DIR__ . '/templates_3', '10');
|
||||
$this->smarty->addTemplateDir(__DIR__ . '/templates_4', 'foo');
|
||||
}
|
||||
}
|
||||
|
||||
public function testInit()
|
||||
{
|
||||
$this->cleanDirs();
|
||||
}
|
||||
|
||||
public function testGetTemplateFilepath()
|
||||
{
|
@@ -0,0 +1 @@
|
||||
templates
|
Reference in New Issue
Block a user