diff --git a/repertory/repertory_test/src/file_manager_test.cpp b/repertory/repertory_test/src/file_manager_test.cpp index 4a98fb8a..33e15c0b 100644 --- a/repertory/repertory_test/src/file_manager_test.cpp +++ b/repertory/repertory_test/src/file_manager_test.cpp @@ -25,6 +25,7 @@ #include "events/types/download_restored.hpp" #include "events/types/download_resume_added.hpp" #include "events/types/file_upload_completed.hpp" +#include "events/types/file_upload_queued.hpp" #include "events/types/filesystem_item_closed.hpp" #include "events/types/filesystem_item_handle_closed.hpp" #include "events/types/filesystem_item_handle_opened.hpp" @@ -407,8 +408,7 @@ TEST_F(file_manager_test, download_resume_added::name, [&source_path](const i_event &evt) { const auto &evt2 = dynamic_cast(evt); EXPECT_STREQ("/test_write_partial_download.txt", evt2.api_path.c_str()); - EXPECT_STREQ(source_path.c_str(), - evt2.get_dest_path().get().c_str()); + EXPECT_STREQ(source_path.c_str(), evt2.dest_path.c_str()); }); event_capture capture({download_resume_added::name},