Browse Source

CmsKit - Test fix

pull/7745/head
enisn 6 years ago
parent
commit
188fdb3808
  1. 3
      modules/cms-kit/test/Volo.CmsKit.TestBase/Blogs/BlogFeatureRepository_Test.cs

3
modules/cms-kit/test/Volo.CmsKit.TestBase/Blogs/BlogFeatureRepository_Test.cs

@ -1,5 +1,6 @@
using Shouldly;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Volo.Abp.Modularity;
using Xunit;
@ -30,7 +31,7 @@ namespace Volo.CmsKit.Blogs
[Fact]
public async Task GetListAsync_ShouldWorkProperly_WithBlogIdWithFeatureNames()
{
var result = await blogFeatureRepository.GetListAsync(testData.Blog_Id, new[] { testData.BlogFeature_1_FeatureName });
var result = await blogFeatureRepository.GetListAsync(testData.Blog_Id, new List<string> { testData.BlogFeature_1_FeatureName });
result.ShouldNotBeNull();
result.ShouldNotBeEmpty();

Loading…
Cancel
Save