Fix mismatching parameter in TagRepository_Test

pull/6851/head^2
enisn 4 years ago
parent 68f9c3f7ca
commit f192860fa3

@ -86,7 +86,7 @@ namespace Volo.CmsKit.Tags
[Fact]
public async Task Should_Get_Related_Tags()
{
var content_1_tags = await _tagRepository.GetAllRelatedTagsAsync(_cmsKitTestData.Content_1_EntityType, _cmsKitTestData.Content_1_EntityType);
var content_1_tags = await _tagRepository.GetAllRelatedTagsAsync(_cmsKitTestData.Content_1_EntityType, _cmsKitTestData.EntityId1);
content_1_tags.Count.ShouldBe(_cmsKitTestData.Content_1_Tags.Length);
@ -95,7 +95,7 @@ namespace Volo.CmsKit.Tags
_cmsKitTestData.Content_1_Tags.Contains(tag.Name).ShouldBeTrue();
}
var content_2_tags = await _tagRepository.GetAllRelatedTagsAsync(_cmsKitTestData.Content_2_EntityType, _cmsKitTestData.Content_2_EntityType);
var content_2_tags = await _tagRepository.GetAllRelatedTagsAsync(_cmsKitTestData.Content_2_EntityType, _cmsKitTestData.EntityId2);
content_2_tags.Count.ShouldBe(_cmsKitTestData.Content_2_Tags.Length);

Loading…
Cancel
Save