Skip to content

Commit

Permalink
Merge pull request #170 from Ali-YousefiTelori/develop
Browse files Browse the repository at this point in the history
Fix compile
  • Loading branch information
Ali-YousefiTelori authored Feb 26, 2024
2 parents a941caf + d66ec85 commit 9c7ccf4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down Expand Up @@ -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));
Expand Down

0 comments on commit 9c7ccf4

Please sign in to comment.