Skip to content
Snippets Groups Projects
Commit 153751ad authored by Joscha Schmiedt's avatar Joscha Schmiedt
Browse files

Fix fs::path.c_str() being wchar on Windows

parent 1bc1e914
No related branches found
No related tags found
2 merge requests!41Release 0.3.0,!38Make integration tests runnable on Windows
......@@ -591,7 +591,7 @@ TEST_F(test_clinkahead, test_up_n_download_file) {
linkahead_entity_entity original_entity;
linkahead_entity_create_entity(&original_entity);
linkahead_entity_entity_set_role(&original_entity, "FILE");
linkahead_entity_entity_set_local_path(&original_entity, test_upload_file_1.c_str());
linkahead_entity_entity_set_local_path(&original_entity, test_upload_file_1.string().c_str());
linkahead_entity_entity_set_file_path(&original_entity, "/some/file");
linkahead_transaction_transaction insert_transaction;
......@@ -619,7 +619,7 @@ TEST_F(test_clinkahead, test_up_n_download_file) {
// return_code = linkahead_transaction_transaction_retrieve_by_id(
// &retrieve_transaction_1, rec_id);
return_code = linkahead_transaction_transaction_retrieve_and_download_file_by_id(
&retrieve_transaction_1, rec_id, test_download_file_1.c_str());
&retrieve_transaction_1, rec_id, test_download_file_1.string().c_str());
EXPECT_EQ(return_code, linkahead::StatusCode::GO_ON);
return_code = linkahead_transaction_transaction_execute(&retrieve_transaction_1);
EXPECT_EQ(return_code, 0);
......
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