Confirmed, that works. I've moved from ValidateIsUniqueAttribute later
anyways.

On Wed, Sep 10, 2008 at 9:16 PM, Eric Hauser <[EMAIL PROTECTED]> wrote:

>
> One way would be to create a new validation registry that mimics the
> behavior of CachedValidationRegistry, but ignores that particular
> validator.  It is a little bit of cut and paste work becaused
> CachedValidationRegistry's methods are not virtual.  Then in your test
> setup, you can do:
>
> controller.Validator = new ValidatorRunner(new
> MyValidationRegistry());

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" 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/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to