paragonie / paseto

Platform-Agnostic Security Tokens
https://paseto.io
Other
3.24k stars 108 forks source link

test catches PHPUnit exception #74

Closed ghost closed 6 years ago

ghost commented 6 years ago

https://github.com/paragonie/paseto/blob/ed7c455e5c3133ea10138205792042fb43a1d7df/tests/Version2Test.php#L139

This tests catches the PHPUnit\Framework\AssertionFailedError. Is that actually intended? It seems the test is a bit pointless now?