diff --git a/modules/cms-kit/test/Volo.CmsKit.Application.Tests/Contents/ContentAdminAppService_Tests.cs b/modules/cms-kit/test/Volo.CmsKit.Application.Tests/Contents/ContentAdminAppService_Tests.cs index 39f6251de7..7d3e7b5fd3 100644 --- a/modules/cms-kit/test/Volo.CmsKit.Application.Tests/Contents/ContentAdminAppService_Tests.cs +++ b/modules/cms-kit/test/Volo.CmsKit.Application.Tests/Contents/ContentAdminAppService_Tests.cs @@ -118,11 +118,11 @@ namespace Volo.CmsKit.Contents } [Fact] - public async Task ShouldThrowEntityNotFoundExceptionWhileDeletingAlreadyDeletedAsync() + public async Task ShouldNotThrowEntityNotFoundExceptionWhileDeletingAlreadyDeletedAsync() { await _service.DeleteAsync(_data.Content_2_Id); - Should.ThrowAsync(async () => + await Should.NotThrowAsync(async () => await _service.DeleteAsync(_data.Content_2_Id)); } }