From d1ab9a5c62cfb38579127afc4914a85b40ed4782 Mon Sep 17 00:00:00 2001 From: Jeremy Long Date: Sat, 3 Aug 2013 12:11:46 -0400 Subject: [PATCH] removed unused property in test case Former-commit-id: c7d83bf44121d4d922b0d2270c47308986d73753 --- .../utils/DownloaderIntegrationTest.java | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/dependency-check-core/src/test/java/org/owasp/dependencycheck/utils/DownloaderIntegrationTest.java b/dependency-check-core/src/test/java/org/owasp/dependencycheck/utils/DownloaderIntegrationTest.java index 7677ef523..ae58686d7 100644 --- a/dependency-check-core/src/test/java/org/owasp/dependencycheck/utils/DownloaderIntegrationTest.java +++ b/dependency-check-core/src/test/java/org/owasp/dependencycheck/utils/DownloaderIntegrationTest.java @@ -63,12 +63,14 @@ public class DownloaderIntegrationTest { // Settings.setString(Settings.KEYS.PROXY_PORT, "8080"); // Settings.setString(Settings.KEYS.PROXY_URL, "127.0.0.1"); - URL url = new URL(Settings.getString(Settings.KEYS.CPE_URL)); - String outputPath = "target/downloaded_cpe.xml"; - Downloader.fetchFile(url, outputPath, true); - url = new URL(Settings.getString(Settings.KEYS.CVE_MODIFIED_20_URL)); - outputPath = "target/downloaded_cve.xml"; +// Removed as the actual CPE is no longer used. +// URL url = new URL(Settings.getString(Settings.KEYS.CPE_URL)); +// String outputPath = "target/downloaded_cpe.xml"; +// 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); }