diff --git a/test/test_transaction.cpp b/test/test_transaction.cpp index 79cdb12041a0f985745f495986506be452a27782..b186b90ba212daa050ef52fb356d52d21c7f4b99 100644 --- a/test/test_transaction.cpp +++ b/test/test_transaction.cpp @@ -304,6 +304,7 @@ TEST_F(test_transaction, insert_delete_with_property) { Entity rt; rt.SetRole("RecordType"); rt.SetName("TestRT"); + rt.SetDescription("Some description"); rt.AppendProperty(prop_rt); auto rt_insertion(connection->CreateTransaction()); @@ -336,6 +337,7 @@ TEST_F(test_transaction, insert_delete_with_property) { const auto &retrieved_rt = rt_retrieve_results.GetEntity(); EXPECT_EQ(inserted_rt.GetId(), retrieved_rt.GetId()); EXPECT_EQ(rt.GetName(), retrieved_rt.GetName()); + EXPECT_EQ(rt.GetDescription(), retrieved_rt.GetDescription()); EXPECT_EQ(retrieved_rt.GetProperties().Size(), 1); const auto &retrieved_prop_rt = retrieved_rt.GetProperties().At(0); @@ -397,6 +399,7 @@ TEST_F(test_transaction, insert_delete_with_property) { const auto &retrieved_parent_rec = retrieved_rec.GetParents().At(0); EXPECT_EQ(retrieved_parent_rec.GetName(), rt.GetName()); EXPECT_EQ(retrieved_parent_rec.GetId(), inserted_rt.GetId()); + EXPECT_EQ(retrieved_parent_rec.GetDescription(), rt.GetDescription()); const auto &retrieved_prop_rec = retrieved_rec.GetProperties().At(0); EXPECT_EQ(retrieved_prop_rec.GetName(), prop_ent.GetName());