From 03736463c787734a2412bd7d19d02c50d01b10f4 Mon Sep 17 00:00:00 2001 From: enisn Date: Tue, 5 Jan 2021 10:24:29 +0300 Subject: [PATCH] CmsKit - Remove unnecessary test from Content --- .../Contents/ContentAdminAppService_Tests.cs | 7 ------- 1 file changed, 7 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 887d50d555..39f6251de7 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 @@ -117,13 +117,6 @@ namespace Volo.CmsKit.Contents await Should.ThrowAsync(async () => await _service.GetAsync(_data.Content_2_Id)); } - [Fact] - public async Task ShouldThrowEntityNotFoundExceptionWhileDeletingNonExistingAsync() - { - await Should.ThrowAsync(async () => - await _service.DeleteAsync(Guid.NewGuid())); // Freshly generated non-existing id. - } - [Fact] public async Task ShouldThrowEntityNotFoundExceptionWhileDeletingAlreadyDeletedAsync() {