From d66ec856f69784bda1ee368237bb046407737997 Mon Sep 17 00:00:00 2001 From: Ali Yousefi Date: Mon, 26 Feb 2024 19:13:04 +0330 Subject: [PATCH] Fix compile --- .../DatabaseLogics/LongIdMappedDatabaseLogicBaseTest.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CSharp/EasyMicroservices.Cores.Tests/DatabaseLogics/LongIdMappedDatabaseLogicBaseTest.cs b/src/CSharp/EasyMicroservices.Cores.Tests/DatabaseLogics/LongIdMappedDatabaseLogicBaseTest.cs index 8b8071d..15afcd7 100644 --- a/src/CSharp/EasyMicroservices.Cores.Tests/DatabaseLogics/LongIdMappedDatabaseLogicBaseTest.cs +++ b/src/CSharp/EasyMicroservices.Cores.Tests/DatabaseLogics/LongIdMappedDatabaseLogicBaseTest.cs @@ -626,7 +626,7 @@ public async Task SelfChildTestAsync(string parentName, string[] chilren) Assert.True(allResult.Result.Any(y => y.Name == parentName)); CheckUniqueIdentity(allResult.Result.Select(x => x.UniqueIdentity)); - var onlyChildrenResult = await logic.GetAllByUniqueIdentity(foundUser.Result, type: DataTypes.GetUniqueIdentityType.OnlyChilren); + var onlyChildrenResult = await logic.GetAllByUniqueIdentity(foundUser.Result, type: DataTypes.GetUniqueIdentityType.OnlyChildren); Assert.True(onlyChildrenResult.HasItems); Assert.True(chilren.All(x => onlyChildrenResult.Result.Any(y => y.Name == x))); Assert.True(!onlyChildrenResult.Result.Any(y => y.Name == parentName)); @@ -685,7 +685,7 @@ public async Task ChildTestAsync(string parentName, string[] chilren) Assert.True(childUser.IsSuccess); Assert.True(childUser.Result > 0); } - var onlyChildrenResult = await subjectlogic.GetAllByUniqueIdentity(foundUser.Result, type: DataTypes.GetUniqueIdentityType.OnlyChilren); + var onlyChildrenResult = await subjectlogic.GetAllByUniqueIdentity(foundUser.Result, type: DataTypes.GetUniqueIdentityType.OnlyChildren); Assert.True(onlyChildrenResult.HasItems); Assert.True(chilren.All(x => onlyChildrenResult.Result.Any(y => y.Name == "Subcject" + x))); Assert.True(!onlyChildrenResult.Result.Any(y => y.Name == "Subcject" + parentName));