blob: 518e42f30dc0758353e7d485647fa825193b7e40 (
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}
*
* @package PHPunit
* @author Uwe Tews
*/
/**
* class for {$smarty.version} tests
*
* @runTestsInSeparateProcess
* @preserveGlobalState disabled
* @backupStaticAttributes enabled
*/
class SmartyVersionTest extends PHPUnit_Smarty
{
public function setUp(): void
{
$this->setUpSmarty(dirname(__FILE__));
}
public function testInit()
{
$this->cleanDirs();
}
/**
* test {$smarty.version}
*
*/
public function testSmartyVersion() {
$this->assertEquals(Smarty::SMARTY_VERSION, $this->smarty->fetch('version.tpl'));
}
}
|