updated fetchFile test to remove un-needed argument

Former-commit-id: 2776f1efb6252c128fa102bc8ecc284f12cb606d
This commit is contained in:
Jeremy Long
2013-08-04 10:48:10 -04:00
parent 96b68ae49c
commit 458f9a7a63

View File

@@ -18,6 +18,7 @@
*/
package org.owasp.dependencycheck.utils;
import java.io.File;
import org.owasp.dependencycheck.utils.Settings;
import org.owasp.dependencycheck.utils.Downloader;
import java.net.URL;
@@ -70,8 +71,8 @@ public class DownloaderIntegrationTest {
// Downloader.fetchFile(url, outputPath, true);
URL url = new URL(Settings.getString(Settings.KEYS.CVE_MODIFIED_20_URL));
String outputPath = "target/downloaded_cve.xml";
Downloader.fetchFile(url, outputPath, false);
File outputPath = new File("target/downloaded_cve.xml");
Downloader.fetchFile(url, outputPath);
}