From 1fbbd707913f1df67947c92ab922039811dd44b4 Mon Sep 17 00:00:00 2001 From: Salih Date: Fri, 14 Jul 2023 10:57:55 +0300 Subject: [PATCH] Update TagPublicAppService_Tests.cs --- .../Tags/TagPublicAppService_Tests.cs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/modules/cms-kit/test/Volo.CmsKit.Application.Tests/Tags/TagPublicAppService_Tests.cs b/modules/cms-kit/test/Volo.CmsKit.Application.Tests/Tags/TagPublicAppService_Tests.cs index 7e177aebe3..74fd80e12b 100644 --- a/modules/cms-kit/test/Volo.CmsKit.Application.Tests/Tags/TagPublicAppService_Tests.cs +++ b/modules/cms-kit/test/Volo.CmsKit.Application.Tests/Tags/TagPublicAppService_Tests.cs @@ -43,4 +43,13 @@ public class TagPublicAppService_Tests : CmsKitApplicationTestBase list.ShouldBeEmpty(); } + + [Fact] + public async Task GetPopularTagsAsync() + { + var list = await _tagAppService.GetPopularTagsAsync(_cmsKitTestData.Content_1_EntityType, 2); + + list.ShouldNotBeEmpty(); + list.Count.ShouldBe(2); + } }