-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tests FAILED: Expected minimum coverage of 100%, got 99.5% #230
Comments
Going through the test coverage report in the browser we can see that Which caused me to ask the question: Why are we defining a utility function
|
Created PR: dwyl/useful#26 Next in Can't that I know how I'm going to test this ... 💭 |
Added test: test "Auth.Person.decrypt_email/1" do
email = "alex@gmail.com"
encrypted = email |> Fields.AES.encrypt() |> Base58.encode()
decrypted = Person.decrypt_email(encrypted)
assert email == decrypted
# Unhappy ("rescue") path:
invalid_email = ""
assert Person.decrypt_email(invalid_email) == 0
end Last one in
|
…ating the defintion! #230 (comment)
No idea why/how these lines were not being reported as uncovered by tests in previous builds ... 🤷♂️ |
|
Just ran:
On
main
branch onlocalhost
and got the following output:I've made most of the recent changes to this repo ... https://github.com/dwyl/auth/commits/main 🧑💻
So going investigate this now. 🔍
The text was updated successfully, but these errors were encountered: