summaryrefslogtreecommitdiff
path: root/tests/UnitTests/TemplateSource/ValueTests/SmartySpecialVars/Cookie/CookieTest.php
diff options
context:
space:
mode:
authorRaimondas Rimkevičius <github@mekdrop.name>2022-09-27 13:03:34 +0300
committerGitHub <noreply@github.com>2022-09-27 12:03:34 +0200
commit1b556c7077c57b94e2cec093a0877c9d4d571188 (patch)
tree31cab7e615b37a49a7d31eca7e075e44f938025c /tests/UnitTests/TemplateSource/ValueTests/SmartySpecialVars/Cookie/CookieTest.php
parent4550fc03391bd120b4add41ad7934c4c59aa21e8 (diff)
downloadsmarty-1b556c7077c57b94e2cec093a0877c9d4d571188.tar.gz
smarty-1b556c7077c57b94e2cec093a0877c9d4d571188.tar.bz2
smarty-1b556c7077c57b94e2cec093a0877c9d4d571188.zip
Use __DIR__ instead of dirname(__FILE__) (#817)
Diffstat (limited to 'tests/UnitTests/TemplateSource/ValueTests/SmartySpecialVars/Cookie/CookieTest.php')
-rw-r--r--tests/UnitTests/TemplateSource/ValueTests/SmartySpecialVars/Cookie/CookieTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/UnitTests/TemplateSource/ValueTests/SmartySpecialVars/Cookie/CookieTest.php b/tests/UnitTests/TemplateSource/ValueTests/SmartySpecialVars/Cookie/CookieTest.php
index e6e3dc44..84bafb09 100644
--- a/tests/UnitTests/TemplateSource/ValueTests/SmartySpecialVars/Cookie/CookieTest.php
+++ b/tests/UnitTests/TemplateSource/ValueTests/SmartySpecialVars/Cookie/CookieTest.php
@@ -17,7 +17,7 @@ class CookieTest extends PHPUnit_Smarty
{
public function setUp(): void
{
- $this->setUpSmarty(dirname(__FILE__));
+ $this->setUpSmarty(__DIR__);
}
public function testInit()