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(