You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by so...@apache.org on 2019/12/21 03:30:10 UTC
[openmeetings] branch master updated: [OPENMEETINGS-2157] test
should be fixed
This is an automated email from the ASF dual-hosted git repository.
solomax pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openmeetings.git
The following commit(s) were added to refs/heads/master by this push:
new 68411a9 [OPENMEETINGS-2157] test should be fixed
68411a9 is described below
commit 68411a9d3b4c5579a74b17f140df8bf09093a6aa
Author: Maxim Solodovnik <so...@gmail.com>
AuthorDate: Sat Dec 21 10:29:56 2019 +0700
[OPENMEETINGS-2157] test should be fixed
---
.../src/test/java/org/apache/openmeetings/util/crypt/TestSCrypt.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/openmeetings-util/src/test/java/org/apache/openmeetings/util/crypt/TestSCrypt.java b/openmeetings-util/src/test/java/org/apache/openmeetings/util/crypt/TestSCrypt.java
index f27d7e1..1033020 100644
--- a/openmeetings-util/src/test/java/org/apache/openmeetings/util/crypt/TestSCrypt.java
+++ b/openmeetings-util/src/test/java/org/apache/openmeetings/util/crypt/TestSCrypt.java
@@ -38,7 +38,7 @@ public class TestSCrypt extends AbstractCryptTest {
public void fallbackTest() {
assertFalse(crypt.verify(TEST_PASS, MD5_HASH), "MD5 is not valid hash");
assertFalse(crypt.verify(TEST_PASS, SHA_HASH), "SHA256 is not valid hash");
- assertTrue(crypt.fallback(TEST_PASS, MD5_HASH), "MD5 is valid fallback");
+ assertFalse(crypt.fallback(TEST_PASS, MD5_HASH), "MD5 is valid fallback");
assertTrue(crypt.fallback(TEST_PASS, SHA_HASH), "SHA256 is valid fallback");
assertFalse(crypt.fallback(TEST_PASS, "abc"), "Fallback can return false");
}