Change some HastebinTest methods

This commit is contained in:
Fuzzlemann 2017-08-17 14:43:07 +02:00
parent 47d97252a6
commit 5eecaf0b12
2 changed files with 5 additions and 4 deletions

View File

@ -1,11 +1,12 @@
package test.java.main.java.com.djrapitops.plan.utilities.dump;
import main.java.com.djrapitops.plan.utilities.file.dump.DumpLog;
import org.junit.Assert;
import org.junit.Test;
import java.util.Arrays;
import static junit.framework.TestCase.assertEquals;
/**
* @author Fuzzlemann
*/
@ -35,6 +36,6 @@ public class DumpLogTest {
"Iterable 2";
String result = testLog.toString();
Assert.assertEquals(expResult, result);
assertEquals(expResult, result);
}
}

View File

@ -53,9 +53,9 @@ public class HastebinTest {
thread.start();
try {
thread.join();
thread.join(5000);
} catch (InterruptedException e) {
Log.info("InterruptedException: " + e.getMessage());
Log.info("Hastebin timed out");
}
Log.info("Hastebin Availability Test Link: " + testLink.get());