diff --git a/conanfile.txt b/conanfile.txt index 8d9e042aeeef0bafbed5095de4bf6ceb2029d06b..c05c8a050ed35900828a810c85820ed5c711b945 100644 --- a/conanfile.txt +++ b/conanfile.txt @@ -1,5 +1,5 @@ [requires] -caosdb/0.0.6 +caosdb/0.0.7 gtest/1.11.0 [generators] diff --git a/test/test_connection.cpp b/test/test_connection.cpp index 80675fc2102eb392009cad3023497af5febff316..ed1ca1faa5186105c87edb5068916f76ab850882 100644 --- a/test/test_connection.cpp +++ b/test/test_connection.cpp @@ -110,7 +110,9 @@ TEST(test_connection, connection_ssl_authentication_error_wrong_credentials) { 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: Authentication failed. Username or password wrong."); + "The attempt to execute this transaction has not been executed at all " + "because the authentication did not succeed. Original error: " + "Authentication failed. Username or password wrong."); } TEST(test_connection, connection_ssl_authentication_success) { diff --git a/test/test_transaction.cpp b/test/test_transaction.cpp index 72fb1a44df06fdb5b15e75cc15d37c28bb6b4c55..f24d7d554393186f857493964ff469369b299777 100644 --- a/test/test_transaction.cpp +++ b/test/test_transaction.cpp @@ -18,8 +18,6 @@ * along with this program. If not, see <https://www.gnu.org/licenses/>. * */ -#include <iostream> -#include <memory> // for unique_ptr, allocator, __shar... #include "caosdb/connection.h" // for Connection, ConnectionManager #include "caosdb/entity.h" // for Entity, Messages, Message #include "caosdb/message_code.h" // for ENTITY_DOES_NOT_EXIST, Messag... @@ -29,6 +27,7 @@ #include "gtest/gtest-message.h" // for Message #include "gtest/gtest-test-part.h" // for TestPartResult, SuiteApiResolver #include "gtest/gtest_pred_impl.h" // for Test, EXPECT_EQ, AssertionResult +#include <memory> // for unique_ptr, allocator, __shar... namespace caosdb::transaction { using caosdb::entity::MessageCode;