Re-activate unit tests for user literals.

This commit is contained in:
Simon Wisselink
2026-04-13 22:31:06 +02:00
parent ff2ef3b0cb
commit 3577fc7091
3 changed files with 2 additions and 6 deletions
-1
View File
@@ -29,4 +29,3 @@
## Unrelated / other
- review (and avoid) use of 'clone' keyword
- what is 'user literal support', why are unit tests skipped?
+1
View File
@@ -0,0 +1 @@
- Re-activated unit tests for user literals, which were previously disabled due to a bug in refactoring to v5.
@@ -17,11 +17,7 @@ class UserliteralTest extends PHPUnit_Smarty
{
public function setUp(): void
{
if (!property_exists('Smarty', 'literals')) {
$this->markTestSkipped('user literal support');
} else {
$this->setUpSmarty(__DIR__);
}
$this->setUpSmarty(__DIR__);
}