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

STY: autoformatting

parent 7be3cb31
No related branches found
No related tags found
1 merge request!23Add tests for user creation/deletion/retrieval
Pipeline #24955 failed
......@@ -60,7 +60,10 @@ TEST(test_user, test_create_single_user_success) {
auto re = connection->RetrieveSingleUser("CaosDB", "user1");
EXPECT_EQ(re.GetName(), user.GetName());
connection->DeleteSingleUser("CaosDB", "user1");
EXPECT_THROW_MESSAGE(connection->RetrieveSingleUser("CaosDB", "user1"), caosdb::exceptions::Exception, "The attempt to execute this transaction was not successful because an error occured in the transport or RPC protocol layer. Original error: 5 - This account does not exist.");
EXPECT_THROW_MESSAGE(
connection->RetrieveSingleUser("CaosDB", "user1"), caosdb::exceptions::Exception,
"The attempt to execute this transaction was not successful because an error occured in the "
"transport or RPC protocol layer. Original error: 5 - This account does not exist.");
}
} // namespace caosdb::connection
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment