Browse Source

CmsKit - Remove unnecessary test from Content

pull/6926/head
enisn 6 years ago
parent
commit
03736463c7
  1. 7
      modules/cms-kit/test/Volo.CmsKit.Application.Tests/Contents/ContentAdminAppService_Tests.cs

7
modules/cms-kit/test/Volo.CmsKit.Application.Tests/Contents/ContentAdminAppService_Tests.cs

@ -117,13 +117,6 @@ namespace Volo.CmsKit.Contents
await Should.ThrowAsync<EntityNotFoundException>(async () => await _service.GetAsync(_data.Content_2_Id));
}
[Fact]
public async Task ShouldThrowEntityNotFoundExceptionWhileDeletingNonExistingAsync()
{
await Should.ThrowAsync<EntityNotFoundException>(async () =>
await _service.DeleteAsync(Guid.NewGuid())); // Freshly generated non-existing id.
}
[Fact]
public async Task ShouldThrowEntityNotFoundExceptionWhileDeletingAlreadyDeletedAsync()
{

Loading…
Cancel
Save