diff --git a/test/test_connection.cpp b/test/test_connection.cpp index 8a8cd8f8c59d92c2623ac9f48cd2f8819a38526e..ed1ca1faa5186105c87edb5068916f76ab850882 100644 --- a/test/test_connection.cpp +++ b/test/test_connection.cpp @@ -73,8 +73,7 @@ TEST(test_connection, connection_insecure_authentication_error_anonymous) { EXPECT_THROW(connection.RetrieveVersionInfo(), AuthenticationError); } -// TODO(tf) cognitive complexity > 25 (threshold) -TEST(test_connection, connection_ssl_authentication_error_anonymous) { // NOLINT +TEST(test_connection, connection_ssl_authentication_error_anonymous) { const auto *port_str = caosdb::utility::get_env_var("CAOSDB_SERVER_GRPC_PORT_HTTPS", "8443"); auto port = std::stoi(port_str); @@ -93,9 +92,7 @@ TEST(test_connection, connection_ssl_authentication_error_anonymous) { // NOLINT "succeed. Original error: Please login."); } -// TODO(tf) cognitive complexity > 25 (threshold) -TEST(test_connection, // NOLINT - connection_ssl_authentication_error_wrong_credentials) { // NOLINT +TEST(test_connection, connection_ssl_authentication_error_wrong_credentials) { const auto *port_str = caosdb::utility::get_env_var("CAOSDB_SERVER_GRPC_PORT_HTTPS", "8443"); auto port = std::stoi(port_str);