Re: [SMARTY] Smarty Unit Test - Test case failure - Package Smarty-2.6.18.tar.gz

From: Date: Thu, 25 Oct 2007 08:32:57 +0000
Subject: Re: [SMARTY] Smarty Unit Test - Test case failure - Package Smarty-2.6.18.tar.gz
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-13790@lists.php.net to get a copy of this message
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

« previous php.smarty.general (#13790) next »