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