From 5d0cc97f32aae2a2b89654e07ce9ef88b62d1e5f Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Thu, 16 May 2019 23:21:12 +0000 Subject: [PATCH] --- Widget/WidgetValidationTests.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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"); }