mirror of
https://github.com/XRPLF/rippled.git
synced 2026-08-21 22:30:57 +00:00
fix(test): follow TempDir out of beast:: in the two sync-diagnostics cases
Companion to the same fix on phase-9. These two uses exist only on this branch, so they survived the merge-forward: develop moved TempDir from beast:: to xrpl:: and deleted xrpl/beast/utility/temp_dir.h. Database.cpp already includes xrpl/basics/FileUtilities.h and already spells TempDir unqualified at line 288, so only the qualifier was wrong.
This commit is contained in:
@@ -490,7 +490,7 @@ TEST(NodeStoreDatabase, import_accumulates_store_duration)
|
||||
DummyScheduler scheduler;
|
||||
beast::Journal const journal(TestSink::instance());
|
||||
|
||||
beast::TempDir const srcDir;
|
||||
TempDir const srcDir;
|
||||
Section srcParams;
|
||||
srcParams.set("type", "nudb");
|
||||
srcParams.set("path", srcDir.path());
|
||||
@@ -504,7 +504,7 @@ TEST(NodeStoreDatabase, import_accumulates_store_duration)
|
||||
storeBatch(*src, batch);
|
||||
ASSERT_EQ(src->getStoreCount(), batch.size());
|
||||
|
||||
beast::TempDir const destDir;
|
||||
TempDir const destDir;
|
||||
Section destParams;
|
||||
destParams.set("type", "nudb");
|
||||
destParams.set("path", destDir.path());
|
||||
|
||||
Reference in New Issue
Block a user