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));