Skip to content
Snippets Groups Projects
Verified Commit 85a62398 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

WIP error handling

parent e017463f
Branches
Tags
1 merge request!2Error handling
Pipeline #11090 passed
......@@ -69,8 +69,8 @@ TEST(test_transaction, retrieve_non_existing) {
transaction->ExecuteAsynchronously();
auto status = transaction->WaitForIt();
EXPECT_EQ(status.GetCode(), TransactionStatus::SUCCESS().GetCode());
ASSERT_EQ(status.GetCode(), StatusCode::SUCCESS);
EXPECT_EQ(status.GetCode(), TransactionStatus::TRANSACTION_ERROR().GetCode());
ASSERT_EQ(status.GetCode(), StatusCode::GENERIC_TRANSACTION_ERROR);
const auto &result_set =
dynamic_cast<const caosdb::transaction::UniqueResult &>(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment