mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-19 15:54:52 +01:00
removed duplicate test case
Former-commit-id: 8fd1309deb179486d6042a2b5119caca70437b19
This commit is contained in:
@@ -63,19 +63,4 @@ public class DatabaseUpdaterIntegrationTest {
|
|||||||
DatabaseUpdater instance = new DatabaseUpdater();
|
DatabaseUpdater instance = new DatabaseUpdater();
|
||||||
instance.update();
|
instance.update();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Test of update method (when in batch mode), of class DatabaseUpdater.
|
|
||||||
*
|
|
||||||
* @throws Exception
|
|
||||||
*/
|
|
||||||
@Test
|
|
||||||
public void testBatchUpdate() throws Exception {
|
|
||||||
File file = new File(this.getClass().getClassLoader().getResource("data.zip").toURI());
|
|
||||||
String path = "file:///" + file.getCanonicalPath();
|
|
||||||
Settings.setString(Settings.KEYS.BATCH_UPDATE_URL, path);
|
|
||||||
DatabaseUpdater instance = new DatabaseUpdater();
|
|
||||||
instance.update();
|
|
||||||
Settings.setString(Settings.KEYS.BATCH_UPDATE_URL, "");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user