Skip to content

Commit

Permalink
Change some HastebinTest methods
Browse files Browse the repository at this point in the history
  • Loading branch information
Fuzzlemann committed Aug 17, 2017
1 parent 47d9725 commit 5eecaf0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -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
*/
Expand Down Expand Up @@ -35,6 +36,6 @@ public void testDumpLogCreation() {
"Iterable 2";
String result = testLog.toString();

Assert.assertEquals(expResult, result);
assertEquals(expResult, result);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ public void checkAvailability() throws Exception {
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());
Expand Down

0 comments on commit 5eecaf0

Please sign in to comment.