Browse Source

Fix unit test.

pull/20143/head
maliming 2 years ago
parent
commit
28b3634fe7
No known key found for this signature in database GPG Key ID: A646B9CB645ECEA4
  1. 2
      framework/test/Volo.Abp.AspNetCore.Mvc.Tests/Volo/Abp/AspNetCore/Mvc/ExceptionHandling/ExceptionTestController_Tests.cs

2
framework/test/Volo.Abp.AspNetCore.Mvc.Tests/Volo/Abp/AspNetCore/Mvc/ExceptionHandling/ExceptionTestController_Tests.cs

@ -108,7 +108,7 @@ public class ExceptionTestController_Tests : AspNetCoreMvcTestBase
var result = await GetResponseAsObjectAsync<RemoteServiceErrorResponse>("/api/exception-test/ExceptionOnUowSaveChange", HttpStatusCode.Conflict);
result.Error.ShouldNotBeNull();
result.Error.Message.ShouldBe("The data you have submitted has already changed by another user/client. Please discard the changes you've done and try from the beginning.");
result.Error.Message.ShouldBe("The data you have submitted has already been changed by another user. Discard your changes and try again.");
#pragma warning disable 4014
_fakeExceptionSubscriber

Loading…
Cancel
Save