Re: [SMARTY] Smarty Unit Test - Test case failure - Package Smarty-2.6.18.tar.gz
messju mohr <[email protected]> Thu, 25 Oct 2007 10:32:57 +0200
| Newsgroups | gmane.comp.php.smarty.general |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Oct 25, 2007 at 05:14:24AM +0100, Ian Short wrote: > Does anyone else see the following test case failure when running the Smarty Unit test on package Smarty-2.6.18.tar.gz? I got this kind of failure when I did not configure date.timezone in my php.ini. A newer php does throw an E_STRICT then - overriding the expected E_USER_WARNING. If this does not fix your case, store all error info in the error handler ($this->error = func_get_args()) and dump this error info from test_core_is_secure_function_smarty_var_const_not_allowed() in test_cases.php to see, what causes the unexpected 2(== E_WARNING). greetings messju > ====================================================================================== > Test case failure > TestCase SmartyTest->test_core_is_secure_function_smarty_var_const_not_allowed() failed: expected 2, actual 512 in C:\htdocs\warlock_ste\Smarty\unit_test\test_cases.php:444 > ====================================================================================== > > Note full listing of results are in the attachment. > > Regards > > Ian Short -- Smarty General Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php