Skip to content
Snippets Groups Projects
Verified Commit b2812487 authored by Daniel Hornung's avatar Daniel Hornung
Browse files

STY: Formatting and linting.

parent 2c08ecdb
Branches
Tags
2 merge requests!41Release 0.3.0,!37F fix deprecations
Pipeline #55746 passed
......@@ -625,6 +625,7 @@ TEST_F(test_clinkahead, test_up_n_download_file) {
EXPECT_EQ(return_code, 0);
linkahead_transaction_result_set result_set;
return_code = linkahead_transaction_transaction_get_result_set(&retrieve_transaction_1, &result_set);
return_code =
linkahead_transaction_transaction_get_result_set(&retrieve_transaction_1, &result_set);
EXPECT_EQ(return_code, 0);
}
......@@ -61,7 +61,8 @@ TEST(test_connection, connect_somehost_42347_fails) {
}
TEST(test_connection, connection_insecure_authentication_error_anonymous) {
const auto *port_str = linkahead::utility::get_env_fallback("CAOSDB_SERVER_GRPC_PORT_HTTP", "8080");
const auto *port_str =
linkahead::utility::get_env_fallback("CAOSDB_SERVER_GRPC_PORT_HTTP", "8080");
auto port = std::stoi(port_str);
const auto *const host = linkahead::utility::get_env_fallback("CAOSDB_SERVER_HOST", "localhost");
......@@ -72,7 +73,8 @@ TEST(test_connection, connection_insecure_authentication_error_anonymous) {
}
TEST(test_connection, connection_ssl_authentication_error_anonymous) {
const auto *port_str = linkahead::utility::get_env_fallback("CAOSDB_SERVER_GRPC_PORT_HTTPS", "8443");
const auto *port_str =
linkahead::utility::get_env_fallback("CAOSDB_SERVER_GRPC_PORT_HTTPS", "8443");
auto port = std::stoi(port_str);
const auto *const host = linkahead::utility::get_env_fallback("CAOSDB_SERVER_HOST", "localhost");
const auto path = linkahead::utility::get_env_fallback("CAOSDB_SERVER_CERT", std::string());
......@@ -88,7 +90,8 @@ TEST(test_connection, connection_ssl_authentication_error_anonymous) {
}
TEST(test_connection, connection_ssl_authentication_error_wrong_credentials) {
const auto *port_str = linkahead::utility::get_env_fallback("CAOSDB_SERVER_GRPC_PORT_HTTPS", "8443");
const auto *port_str =
linkahead::utility::get_env_fallback("CAOSDB_SERVER_GRPC_PORT_HTTPS", "8443");
auto port = std::stoi(port_str);
const auto *const host = linkahead::utility::get_env_fallback("CAOSDB_SERVER_HOST", "localhost");
const auto path = linkahead::utility::get_env_fallback("CAOSDB_SERVER_CERT", std::string());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment