File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
src/test/java/net/authorize Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
1
package net .authorize .reporting ;
2
2
3
3
import java .math .BigDecimal ;
4
+ import java .security .SecureRandom ;
4
5
import java .util .ArrayList ;
5
6
import java .util .Calendar ;
6
7
import java .util .Date ;
@@ -51,7 +52,7 @@ public class ReportingTest extends UnitTestData {
51
52
@ Before
52
53
public void setup ()
53
54
{
54
- randomGenerator = new Random ();
55
+ randomGenerator = new SecureRandom ();
55
56
}
56
57
57
58
static final Date now = Calendar .getInstance ().getTime ();
Original file line number Diff line number Diff line change @@ -54,6 +54,6 @@ public void testMD5HashVerification() {
54
54
55
55
}
56
56
Assert .assertNotNull (md5Check );
57
- Assert .assertEquals (md5Check , x_MD5_Hash );
57
+ Assert .assertEquals (x_MD5_Hash , md5Check );
58
58
}
59
59
}
You can’t perform that action at this time.
0 commit comments