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

MAINT: Remove NOLINTs again

parent 8e450068
No related branches found
No related tags found
1 merge request!3TST: Add Tests for insert and delete
Pipeline #11477 failed
This commit is part of merge request !3. Comments created here will be created in the context of that merge request.
...@@ -73,8 +73,7 @@ TEST(test_connection, connection_insecure_authentication_error_anonymous) { ...@@ -73,8 +73,7 @@ TEST(test_connection, connection_insecure_authentication_error_anonymous) {
EXPECT_THROW(connection.RetrieveVersionInfo(), AuthenticationError); EXPECT_THROW(connection.RetrieveVersionInfo(), AuthenticationError);
} }
// TODO(tf) cognitive complexity > 25 (threshold) TEST(test_connection, connection_ssl_authentication_error_anonymous) {
TEST(test_connection, connection_ssl_authentication_error_anonymous) { // NOLINT
const auto *port_str = const auto *port_str =
caosdb::utility::get_env_var("CAOSDB_SERVER_GRPC_PORT_HTTPS", "8443"); caosdb::utility::get_env_var("CAOSDB_SERVER_GRPC_PORT_HTTPS", "8443");
auto port = std::stoi(port_str); auto port = std::stoi(port_str);
...@@ -93,9 +92,7 @@ TEST(test_connection, connection_ssl_authentication_error_anonymous) { // NOLINT ...@@ -93,9 +92,7 @@ TEST(test_connection, connection_ssl_authentication_error_anonymous) { // NOLINT
"succeed. Original error: Please login."); "succeed. Original error: Please login.");
} }
// TODO(tf) cognitive complexity > 25 (threshold) TEST(test_connection, connection_ssl_authentication_error_wrong_credentials) {
TEST(test_connection, // NOLINT
connection_ssl_authentication_error_wrong_credentials) { // NOLINT
const auto *port_str = const auto *port_str =
caosdb::utility::get_env_var("CAOSDB_SERVER_GRPC_PORT_HTTPS", "8443"); caosdb::utility::get_env_var("CAOSDB_SERVER_GRPC_PORT_HTTPS", "8443");
auto port = std::stoi(port_str); auto port = std::stoi(port_str);
......
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