public async Task SetCoverImage_ShouldNotThrowException_WithCorrectData() { using (var imageStream = GetSampleImageStream()) { await WithUnitOfWorkAsync(async() => { await blogPostAdminAppService.SetCoverImageAsync( cmsKitTestData.BlogPost_2_Id, new RemoteStreamContent(imageStream)); }); } }
public virtual Task SetCoverImageAsync(Guid id, RemoteStreamContent streamContent) { return(BlogPostAdminAppService.SetCoverImageAsync(id, streamContent)); }