summaryrefslogtreecommitdiff
path: root/tests/UnitTests/TemplateSource/ValueTests/SmartySpecialVars/Version/SmartyVersionTest.php
blob: efbc2dd6e4a3fe6ffd8c6af32ff5fa3f0ae2dc1d (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.version}
 *

 * @author  Uwe Tews
 */

/**
 * class for {$smarty.version} tests
 *
 * 
 * 
 * 
 */
class SmartyVersionTest extends PHPUnit_Smarty
{
    public function setUp(): void
    {
        $this->setUpSmarty(__DIR__);
    }

    public function testInit()
    {
        $this->cleanDirs();
    }
    /**
     * test {$smarty.version}
     *
     */
    public function testSmartyVersion() {
        $this->assertEquals(\Smarty\Smarty::SMARTY_VERSION, $this->smarty->fetch('version.tpl'));
    }
 }