From a8ff219c08b78807014d8a219620a7848ffe4e41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20tom=20W=C3=B6rden?= <h.tomwoerden@indiscale.com> Date: Thu, 26 Aug 2021 15:26:13 +0200 Subject: [PATCH] MAINT: rename file path to remote path --- test/test_ccaosdb.cpp | 4 ++-- test/test_transaction.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/test_ccaosdb.cpp b/test/test_ccaosdb.cpp index ecc3eb5..4c2bd8e 100644 --- a/test/test_ccaosdb.cpp +++ b/test/test_ccaosdb.cpp @@ -619,7 +619,7 @@ TEST_F(test_ccaosdb, test_up_n_download_file) { caosdb_entity_entity_set_role(&original_entity, "FILE"); caosdb_entity_entity_set_local_path(&original_entity, test_upload_file_1.c_str()); - caosdb_entity_entity_set_file_path(&original_entity, "/some/file"); + caosdb_entity_entity_set_remote_path(&original_entity, "/some/file"); caosdb_transaction_transaction insert_transaction; caosdb_connection_connection_create_transaction(&connection, @@ -641,7 +641,7 @@ TEST_F(test_ccaosdb, test_up_n_download_file) { caosdb_entity_create_entity(&download_entity); caosdb_entity_entity_set_role(&download_entity, "FILE"); caosdb_entity_entity_set_local_path(&download_entity, "lol"); - caosdb_entity_entity_set_file_path(&download_entity, "/some/file"); + caosdb_entity_entity_set_remote_path(&download_entity, "/some/file"); caosdb_transaction_transaction retrieve_transaction_1; caosdb_connection_connection_create_transaction(&connection, diff --git a/test/test_transaction.cpp b/test/test_transaction.cpp index 844c829..ed2445c 100644 --- a/test/test_transaction.cpp +++ b/test/test_transaction.cpp @@ -888,7 +888,7 @@ TEST_F(test_transaction, test_file_upload) { Entity file; file.SetRole(Role::FILE); - file.SetFilePath("test.txt"); + file.SetRemotePath("test.txt"); file.SetLocalPath(test_upload_file_1); auto insert_transaction(connection->CreateTransaction()); @@ -925,7 +925,7 @@ TEST_F(test_transaction, test_file_up_n_download) { Entity file; file.SetRole(Role::FILE); - file.SetFilePath("test.txt"); + file.SetRemotePath("test.txt"); file.SetLocalPath(test_upload_file_1); auto insert_transaction(connection->CreateTransaction()); -- GitLab