diff --git a/repertory/repertory_test/src/file_manager_ring_buffer_open_file_test.cpp b/repertory/repertory_test/src/file_manager_ring_buffer_open_file_test.cpp index d0879f40..bb3ea75e 100644 --- a/repertory/repertory_test/src/file_manager_ring_buffer_open_file_test.cpp +++ b/repertory/repertory_test/src/file_manager_ring_buffer_open_file_test.cpp @@ -493,10 +493,8 @@ TEST(ring_buffer_open_file, read_full_file_in_partial_chunks) { } TEST(ring_buffer_open_file, read_full_file_in_partial_chunks_in_reverse) { - const auto download_source_path = - test::generate_test_file_name("ring_buffer_open_file"); - auto nf = - test::create_random_file(download_source_path, test_chunk_size * 32u); + auto nf = test::create_random_file(test_chunk_size * 32u); + const auto download_source_path = nf.get_path().string(); const auto dest_path = test::generate_test_file_name("ring_buffer_open_file");