diff --git a/toolkit/components/downloads/test/unit/head_download_manager.js b/toolkit/components/downloads/test/unit/head_download_manager.js index 75912699b285..06d1ac21c8c1 100644 --- a/toolkit/components/downloads/test/unit/head_download_manager.js +++ b/toolkit/components/downloads/test/unit/head_download_manager.js @@ -135,14 +135,12 @@ function addDownload(aResultFileName) var destFile = dirSvc.get("ProfD", Ci.nsIFile); destFile.append(aResultFileName || "download.result"); - var srcFile = dirSvc.get("ProfD", Ci.nsIFile); - srcFile.append("LICENSE"); // it is part of the active downloads the moment addDownload is called gDownloadCount++; var dl = dm.addDownload(nsIDownloadManager.DOWNLOAD_TYPE_DOWNLOAD, - createURI("http://localhost:4444/LICENSE"), + createURI("http://localhost:4444/res/language.properties"), createURI(destFile), null, null, Math.round(Date.now() * 1000), null, persist);