From 4c18d77f80730193ea172d63c3e066b03513a0af Mon Sep 17 00:00:00 2001 From: enisn Date: Tue, 5 Jan 2021 10:26:33 +0300 Subject: [PATCH] CmsKit - Update Content tests --- .../Contents/ContentAdminAppService_Tests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)); } }