diff --git a/Widget/WidgetValidationTests.cs b/Widget/WidgetValidationTests.cs index bad1004..b5893b2 100644 --- a/Widget/WidgetValidationTests.cs +++ b/Widget/WidgetValidationTests.cs @@ -87,7 +87,9 @@ namespace raven_integration //2002 in-valid expected Util.ValidateErrorCodeResponse(a, 2200, 400); - Util.ShouldContainValidationError(a, "Name", "2201"); + //This is a modelstate error so even though it would be a 2201 in other circumstances here it's a 2203 + //Maybe a todo is to refine this a bit + Util.ShouldContainValidationError(a, "Name", "2203"); }