Skip to content
Commit 8f1fff40 authored by Daniel Calviño Sánchez's avatar Daniel Calviño Sánchez
Browse files

Fix unit test for verifying enforced expire date too far in the future



The test should fail if no exception was thrown, and no exception was
thrown due to a missing configuration parameter. However, the use of
"addToAssertionCount(1)" made the test pass even if no exception was
thrown and, therefore, to silently fail.

Now the missing configuration parameter was added and the test will fail
if the expected exception is not thrown.

Signed-off-by: default avatarDaniel Calviño Sánchez <danxuliu@gmail.com>
parent ec92e825
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment