diff --git a/modules/cms-kit/test/Volo.CmsKit.Application.Tests/Contents/ContentAdminAppService_Tests.cs b/modules/cms-kit/test/Volo.CmsKit.Application.Tests/Contents/ContentAdminAppService_Tests.cs new file mode 100644 index 0000000000..f338d3d7d1 --- /dev/null +++ b/modules/cms-kit/test/Volo.CmsKit.Application.Tests/Contents/ContentAdminAppService_Tests.cs @@ -0,0 +1,27 @@ +using System.Linq; +using System.Threading.Tasks; +using Shouldly; +using Volo.CmsKit.Admin.Contents; +using Xunit; + +namespace Volo.CmsKit.Contents; + +public class ContentAdminAppService_Tests : CmsKitApplicationTestBase +{ + private readonly IContentAdminAppService _contentAdminAppService; + + public ContentAdminAppService_Tests() + { + _contentAdminAppService = GetRequiredService(); + } + + [Fact] + public async Task ShouldGet_PagedListAsync() + { + var widgets = await _contentAdminAppService.GetWidgetsAsync(); + + widgets.Items.Count.ShouldBe(0); + widgets.Items.Any().ShouldBeFalse(); + } + +}