Author: Kris.Wallsmith
Date: 2010-02-06 23:03:51 +0100 (Sat, 06 Feb 2010)
New Revision: 27624

Modified:
   
plugins/sfFormExtraPlugin/branches/1.3/test/validator/sfValidatorBlacklistTest.php
Log:
[sfFormExtraPlugin] fixed blacklist validator test

Modified: 
plugins/sfFormExtraPlugin/branches/1.3/test/validator/sfValidatorBlacklistTest.php
===================================================================
--- 
plugins/sfFormExtraPlugin/branches/1.3/test/validator/sfValidatorBlacklistTest.php
  2010-02-06 21:59:06 UTC (rev 27623)
+++ 
plugins/sfFormExtraPlugin/branches/1.3/test/validator/sfValidatorBlacklistTest.php
  2010-02-06 22:03:51 UTC (rev 27624)
@@ -38,7 +38,7 @@
 catch (sfValidatorError $e)
 {
   $t->pass('->clean() throws a sfValidatorError when the submitted value is 
invalid');
-  $t->is($e->getCode(), 'invalid', '->clean() throws an "invalid" error');
+  $t->is($e->getCode(), 'forbidden', '->clean() throws an "forbidden" error');
 }
 
 try

-- 
You received this message because you are subscribed to the Google Groups 
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/symfony-svn?hl=en.

Reply via email to