From ce66e953045d3c3c52bd6c2bd9d5385fb52eccdc Mon Sep 17 00:00:00 2001 From: Justin Kotalik Date: Fri, 20 Oct 2017 09:56:27 -0700 Subject: [PATCH] React to JsonPatch exception message changes. (#6976) --- test/Microsoft.AspNetCore.Mvc.Test/JsonPatchExtensionsTest.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Microsoft.AspNetCore.Mvc.Test/JsonPatchExtensionsTest.cs b/test/Microsoft.AspNetCore.Mvc.Test/JsonPatchExtensionsTest.cs index b19ca4149e..5823345a4c 100644 --- a/test/Microsoft.AspNetCore.Mvc.Test/JsonPatchExtensionsTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Test/JsonPatchExtensionsTest.cs @@ -65,7 +65,7 @@ namespace Microsoft.AspNetCore.Mvc } [Theory] - [InlineData("test", "/CustomerName", null, "James", "The test operation is not supported.")] + [InlineData("test", "/CustomerName", null, "James", "The current value '' at path 'CustomerName' is not equal to the test value 'James'.")] [InlineData("invalid", "/CustomerName", null, "James", "Invalid JsonPatch operation 'invalid'.")] [InlineData("", "/CustomerName", null, "James", "Invalid JsonPatch operation ''.")] public void ApplyTo_InvalidPatchOperations_AddsModelStateError(