Browse Source
Update framework/test/Volo.Abp.TestApp/Volo/Abp/TestApp/Testing/SoftDelete_Tests.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
pull/24469/head
Ma Liming
1 month ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
0 deletions
-
framework/test/Volo.Abp.TestApp/Volo/Abp/TestApp/Testing/SoftDelete_Tests.cs
|
|
|
@ -154,6 +154,8 @@ public abstract class SoftDelete_Tests<TStartupModule> : TestAppTestBase<TStartu |
|
|
|
|
|
|
|
douglas = await PersonRepository.GetAsync(TestDataBuilder.UserDouglasId); |
|
|
|
douglas.ConcurrencyStamp.ShouldNotBeNull(); |
|
|
|
// Modify the entity to verify that a changed entity with a correct ConcurrencyStamp
|
|
|
|
// can still be soft deleted without raising a concurrency exception.
|
|
|
|
douglas.ChangeName("Changed Name"); |
|
|
|
|
|
|
|
// Try again with the correct ConcurrencyStamp will be not throw exception
|
|
|
|
|