incubator-zeta-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From der...@apache.org
Subject [zeta-commits] svn commit: r1180889 - /incubator/zetacomponents/trunk/UserInput/tests/tools_test.php
Date Mon, 10 Oct 2011 11:52:31 GMT
Author: derick
Date: Mon Oct 10 11:52:30 2011
New Revision: 1180889

URL: http://svn.apache.org/viewvc?rev=1180889&view=rev
Log:
- Fixed testcase.

Modified:
    incubator/zetacomponents/trunk/UserInput/tests/tools_test.php

Modified: incubator/zetacomponents/trunk/UserInput/tests/tools_test.php
URL: http://svn.apache.org/viewvc/incubator/zetacomponents/trunk/UserInput/tests/tools_test.php?rev=1180889&r1=1180888&r2=1180889&view=diff
==============================================================================
--- incubator/zetacomponents/trunk/UserInput/tests/tools_test.php (original)
+++ incubator/zetacomponents/trunk/UserInput/tests/tools_test.php Mon Oct 10 11:52:30 2011
@@ -131,7 +131,7 @@ class ezcInputFilterDefinitionTest exten
     {
         // The filter should be an existing filter
         $def = array( 'test' => new ezcInputFormDefinitionElement( ezcInputFormDefinitionElement::REQUIRED,
'foobar' ) );
-        self::assertEquals( array( ezcInputForm::DEF_UNSUPPORTED_FILTER, "The filter 'foobar'
for element 'test' does not exist. Pick one of: int, boolean, float, validate_regexp, validate_url,
validate_email, validate_ip, string, stripped, encoded, special_chars, unsafe_raw, email,
url, number_int, number_float, magic_quotes, callback" ), ezcInputForm::validateDefinition(
$def ) );
+        self::assertEquals( array( ezcInputForm::DEF_UNSUPPORTED_FILTER, "The filter 'foobar'
for element 'test' does not exist. Pick one of: int, boolean, float, validate_regexp, validate_url,
validate_email, validate_ip, string, stripped, encoded, special_chars, full_special_chars,
unsafe_raw, email, url, number_int, number_float, magic_quotes, callback" ), ezcInputForm::validateDefinition(
$def ) );
     }
 
     public function testValidateDefinitionFieldName()



Mime
View raw message