diff --git a/test/test_connection.cpp b/test/test_connection.cpp index c3686a9872cb354e63050a6249e4fc8d0d51d1c6..f0042f25b2992d98a73d9a3702b060915d491801 100644 --- a/test/test_connection.cpp +++ b/test/test_connection.cpp @@ -84,7 +84,7 @@ TEST(test_connection, connection_ssl_authentication_error_anonymous) { EXPECT_THROW_MESSAGE(connection.RetrieveVersionInfo(), AuthenticationError, "The attempt to execute this transaction has not been " "executed at all because the authentication did not " - "succeed. Original error: Please login."); + "succeed. Original error: Please log in!"); } TEST(test_connection, connection_ssl_authentication_error_wrong_credentials) { diff --git a/test/test_transaction.cpp b/test/test_transaction.cpp index 865e18efd250f370f6ad6b469718d21e30b4ba13..c165ec2ed48e19953f4145463766489755333517 100644 --- a/test/test_transaction.cpp +++ b/test/test_transaction.cpp @@ -65,17 +65,14 @@ public: */ static auto generateDatetimeValues() -> std::vector<std::string> { std::vector<std::string> values = { - //TODO(tf) (these work, but would need conversion here in the tests due - //to the time zone information) + // TODO(tf) (these work, but would need conversion here in the tests due + // to the time zone information) //"2022-12-24T18:15:00.999999+0200", //"2022-12-24T18:15:00.999999UTC", //"2022-12-24T18:15:00", //"2022-12-24T18:15:00.999999", //"", - "2022", - "2022-12", - "2022-12-24" - }; + "2022", "2022-12", "2022-12-24"}; return values; } @@ -775,7 +772,7 @@ TEST_F(test_transaction, test_datetime_values) { auto values_orig = test_transaction::generateDatetimeValues(); auto props_orig = std::vector<Entity>(); size_t i = 0; - for (const auto& value : values_orig) { + for (const auto &value : values_orig) { auto insert_transaction(connection->CreateTransaction()); Entity prop; prop.SetRole(Role::PROPERTY); @@ -797,7 +794,7 @@ TEST_F(test_transaction, test_datetime_values) { // Retrieve and verify i = 0; - for (const auto& value : values_orig) { + for (const auto &value : values_orig) { auto retrieve_transaction(connection->CreateTransaction()); const auto prop = props_orig[i]; const auto name = std::string("Prop ") + std::to_string(i);