PR changes

This commit is contained in:
imilinovic
2023-09-07 15:43:01 +02:00
parent 296bdec6d8
commit 4f9e39eb8b
12 changed files with 122 additions and 151 deletions

View File

@@ -701,7 +701,7 @@ TYPED_TEST(CppApiTestFixture, TestRelationshipChangeFrom) {
auto relationship = graph.CreateRelationship(node_1, node_2, "Edge");
ASSERT_EQ(relationship.From().Id(), node_1.Id());
graph.ChangeRelationshipFrom(relationship, node_3);
graph.SetFrom(relationship, node_3);
ASSERT_EQ(std::string(relationship.Type()), "Edge");
ASSERT_EQ(relationship.From().Id(), node_3.Id());
@@ -719,7 +719,7 @@ TYPED_TEST(CppApiTestFixture, TestRelationshipChangeTo) {
auto relationship = graph.CreateRelationship(node_1, node_2, "Edge");
ASSERT_EQ(relationship.To().Id(), node_2.Id());
graph.ChangeRelationshipTo(relationship, node_3);
graph.SetTo(relationship, node_3);
ASSERT_EQ(std::string(relationship.Type()), "Edge");
ASSERT_EQ(relationship.From().Id(), node_1.Id());