blob: 1ee56bebeedea77de8480ad03b1813edc2b2846c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
<?php
/**
* Smarty PHPunit tests {$smarty.template_objects}
*
* @author Uwe Tews
*/
/**
* class for {$smarty.template_objects} tests
*
*
*
*
*/
class SmartyTemplateObjectTest extends PHPUnit_Smarty
{
public function setUp(): void
{
$this->setUpSmarty(__DIR__);
}
public function testInit()
{
$this->cleanDirs();
}
/**
* test {$smarty.template_objects}
*
*/
public function testSmartyTempalteObject() {
$this->assertEquals('okay', $this->smarty->fetch('template_object.tpl'));
}
}
|