mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-01-15 08:13:43 +01:00
updated to correctly use the correctly configured temp directory
Former-commit-id: e4b08d63e8eee17f538a2e074dfdc394d446000b
This commit is contained in:
@@ -73,7 +73,7 @@ public class FileUtilsTest {
|
||||
@Test
|
||||
public void testDelete() throws Exception {
|
||||
|
||||
File file = File.createTempFile("tmp", "deleteme");
|
||||
File file = File.createTempFile("tmp", "deleteme", Settings.getTempDirectory());
|
||||
if (!file.exists()) {
|
||||
fail("Unable to create a temporary file.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user