diff options
| author | Raimondas Rimkevičius <github@mekdrop.name> | 2022-09-27 13:03:34 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-27 12:03:34 +0200 |
| commit | 1b556c7077c57b94e2cec093a0877c9d4d571188 (patch) | |
| tree | 31cab7e615b37a49a7d31eca7e075e44f938025c /tests/UnitTests/SmartyMethodsTests/ClearAssign/ClearAssignTest.php | |
| parent | 4550fc03391bd120b4add41ad7934c4c59aa21e8 (diff) | |
| download | smarty-1b556c7077c57b94e2cec093a0877c9d4d571188.tar.gz smarty-1b556c7077c57b94e2cec093a0877c9d4d571188.tar.bz2 smarty-1b556c7077c57b94e2cec093a0877c9d4d571188.zip | |
Use __DIR__ instead of dirname(__FILE__) (#817)
Diffstat (limited to 'tests/UnitTests/SmartyMethodsTests/ClearAssign/ClearAssignTest.php')
| -rw-r--r-- | tests/UnitTests/SmartyMethodsTests/ClearAssign/ClearAssignTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/UnitTests/SmartyMethodsTests/ClearAssign/ClearAssignTest.php b/tests/UnitTests/SmartyMethodsTests/ClearAssign/ClearAssignTest.php index 7dd12d15..8d34c3e7 100644 --- a/tests/UnitTests/SmartyMethodsTests/ClearAssign/ClearAssignTest.php +++ b/tests/UnitTests/SmartyMethodsTests/ClearAssign/ClearAssignTest.php @@ -17,7 +17,7 @@ class ClearAssignTest extends PHPUnit_Smarty { public function setUp(): void { - $this->setUpSmarty(dirname(__FILE__)); + $this->setUpSmarty(__DIR__); $this->smarty->assign('foo', 'foo'); $this->smarty->assign('bar', 'bar'); $this->smarty->assign('blar', 'blar'); |
