CmsKit - Remove unnecessary test from Content

pull/6926/head
enisn 5 years ago
parent 3a58a459e2
commit 03736463c7

@ -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