diff --git a/storage/src/test/java/tech/pegasys/teku/storage/archive/fsarchive/FileSystemArchiveTest.java b/storage/src/test/java/tech/pegasys/teku/storage/archive/fsarchive/FileSystemArchiveTest.java index 24e3f697e32..1befe85d68c 100644 --- a/storage/src/test/java/tech/pegasys/teku/storage/archive/fsarchive/FileSystemArchiveTest.java +++ b/storage/src/test/java/tech/pegasys/teku/storage/archive/fsarchive/FileSystemArchiveTest.java @@ -94,7 +94,7 @@ void testResolve() { new SlotAndBlockRootAndBlobIndex( UInt64.ONE, dataStructureUtil.randomBytes32(), UInt64.ZERO); File file = - dataArchive.resolve(testTempDir, slotAndBlockRootAndBlobIndex.getSlotAndBlockRoot()); + dataArchive.resolve(slotAndBlockRootAndBlobIndex.getSlotAndBlockRoot()); // Check if the file path is correct. Doesn't check the intermediate directories. assertTrue(file.toString().startsWith(testTempDir.toString()));