PHPUnit test var_const_not_allowed fails


#1

Hello,

With Smarty 2.6.5, after installation I ran the included testcases. The last test case fails with this error: TestCase smartytest-test_core_is_secure_function_smarty_var_const_not_allowed() failed: expected , actual 512. So, I read the test case code, but I don’t understand what it is trying to test, therefore I do not understand the failure. Does anyone know what this means or what to do about it?

Please help.

I didn’t find the right solution from the Internet.

References:-
https://bit.ly/2tGmavY
Teaser video studio

Thanks