We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 845e96f commit 7a2f977Copy full SHA for 7a2f977
1 file changed
src/test/java/com/ffxivcensus/gatherer/ConsoleTest.java
@@ -197,16 +197,17 @@ public void TestConsoleHelp() throws Exception{
197
198
@Test
199
public void testMain(){
200
- String[] args = {"-s","200", "-f","300"};
+ String[] args = {"-s","1100", "-f","1400"};
201
Console.main(args);
202
+ //Check output
203
+ assertFalse(outContent.toString().contains("does not exist."));
204
}
205
206
207
public void testDefault(){
208
String[] args = {"-s","500","-f","600"};
209
GathererController gc = Console.run(args);
210
//Check output
- assertTrue(outContent.toString().contains("written to database successfully."));
211
assertFalse(outContent.toString().contains("does not exist."));
212
213
0 commit comments