Skip to content
Snippets Groups Projects
Commit 8f310e43 authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

STY: ws + todo assigned

parent bd017725
No related branches found
No related tags found
1 merge request!9F consolidation
Pipeline #12313 passed
This commit is part of merge request !9. Comments created here will be created in the context of that merge request.
...@@ -883,13 +883,13 @@ TEST_F(test_transaction, test_full_workflow) { ...@@ -883,13 +883,13 @@ TEST_F(test_transaction, test_full_workflow) {
std::cout << "after ..." << std::endl; std::cout << "after ..." << std::endl;
} }
retr_transaction=connection->CreateTransaction(); retr_transaction = connection->CreateTransaction();
retr_transaction->Query("FIND Record Experiment"); retr_transaction->Query("FIND Record Experiment");
retr_transaction->Execute(); retr_transaction->Execute();
EXPECT_EQ(retr_transaction->GetResultSet().size(), 8); EXPECT_EQ(retr_transaction->GetResultSet().size(), 8);
auto to_be_updated = retr_transaction->GetResultSet().at(0); auto to_be_updated = retr_transaction->GetResultSet().at(0);
// TODO using the index for deletion is very inconvenient // TODO(henrik) using the index for deletion is very inconvenient
to_be_updated.RemoveProperty(0); to_be_updated.RemoveProperty(0);
to_be_updated.SetName("changedone"); to_be_updated.SetName("changedone");
...@@ -897,7 +897,7 @@ TEST_F(test_transaction, test_full_workflow) { ...@@ -897,7 +897,7 @@ TEST_F(test_transaction, test_full_workflow) {
update_transaction->UpdateEntity(&to_be_updated); update_transaction->UpdateEntity(&to_be_updated);
update_transaction->Execute(); update_transaction->Execute();
retr_transaction=connection->CreateTransaction(); retr_transaction = connection->CreateTransaction();
retr_transaction->Query("FIND Record Experiment with name=changedone"); retr_transaction->Query("FIND Record Experiment with name=changedone");
retr_transaction->Execute(); retr_transaction->Execute();
EXPECT_EQ(retr_transaction->GetResultSet().size(), 1); EXPECT_EQ(retr_transaction->GetResultSet().size(), 1);
......
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