Skip to content
Snippets Groups Projects
Commit e3ffc6df authored by florian's avatar florian
Browse files

DRAFT: Add debug output

parent a77f58e4
No related branches found
No related tags found
1 merge request!3TST: Add Tests for insert and delete
Pipeline #11263 failed
This commit is part of merge request !3. Comments created here will be created in the context of that merge request.
......@@ -323,6 +323,7 @@ TEST(test_transaction, insert_delete_with_property) {
rec.SetRole("Record");
rec.AppendParent(parent);
rec.AppendProperty(prop_rec);
std::cout << rec.ToString() << std::endl;
auto rec_insertion(connection->CreateTransaction());
rec_insertion->InsertEntity(&rec);
......@@ -330,6 +331,7 @@ TEST(test_transaction, insert_delete_with_property) {
auto rec_insert_status = rec_insertion->WaitForIt();
std::cout << rec_insert_status.GetCode() << std::endl;
ASSERT_TRUE(rec_insert_status.IsTerminated());
ASSERT_FALSE(rec_insert_status.IsError());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment