Skip to content

Commit

Permalink
#5: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
firaja committed Sep 9, 2020
1 parent 447546f commit 450a695
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/com/password4j/PasswordTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -296,15 +296,15 @@ public void testConfigurablePepper()
public void testSecureNeverNull() throws ClassNotFoundException
{
// GIVEN
PropertyReader.PROPERTIES.put("global.random.strong", "true");
PropertyReader.properties.put("global.random.strong", "true");

// WHEN
SecureRandom sr = AlgorithmFinder.getSecureRandom();

// THEN
Assert.assertNotNull(sr);

PropertyReader.PROPERTIES.put("global.random.strong", "false");
PropertyReader.properties.put("global.random.strong", "false");

}

Expand Down

0 comments on commit 450a695

Please sign in to comment.