From 9e935351029b7fdbf69ff3c2f84977a8c87c0657 Mon Sep 17 00:00:00 2001 From: florian <f.spreckelsen@inidscale.com> Date: Wed, 4 Aug 2021 12:46:45 +0200 Subject: [PATCH] MAINT: Remove NOLINTs again --- test/test_connection.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/test/test_connection.cpp b/test/test_connection.cpp index 8a8cd8f..ed1ca1f 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); -- GitLab