Home  |  Linux  | Mysql  | PHP  | XML
From:messju mohr Date:Thu Oct 25 02:32:57 2007
Subject:Re: [SMARTY] Smarty Unit Test - Test case failure - Package Smarty-2.6.18.tar.gz
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
Navigate in group php.smarty.general at sever news.php.net
Previous Next




  
© No Copyright
You are free to use Anything
Site Maintained by PHP Developer
Powered By PHP Consultants