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