Skip to content

Conversation

@julio-lopez
Copy link
Collaborator

@julio-lopez julio-lopez force-pushed the fix/user-profile-password branch from ec48ef7 to baf96fd Compare November 18, 2024 02:59
@codecov
Copy link

codecov bot commented Nov 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 75.97%. Comparing base (cb455c6) to head (37fc9df).
Report is 352 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4259      +/-   ##
==========================================
+ Coverage   75.86%   75.97%   +0.11%     
==========================================
  Files         470      507      +37     
  Lines       37301    38913    +1612     
==========================================
+ Hits        28299    29566    +1267     
- Misses       7071     7380     +309     
- Partials     1931     1967      +36     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jkowalski jkowalski self-requested a review November 18, 2024 06:14
t.Errorf("invalid authenticator result for %v/%v: %v, want %v", username, password, got, want)
}
got := a.IsValid(ctx, r, username, password)
assert.Equal(t, want, got, "invalid authenticator result for %v/%v", username, password)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/assert/require/

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, assert makes sense here so other test cases are checked as well.
There is no reason to stop the test when this check fails.

@julio-lopez julio-lopez marked this pull request as ready for review November 18, 2024 06:20
@julio-lopez julio-lopez merged commit 666899c into kopia:master Nov 18, 2024
@julio-lopez julio-lopez deleted the fix/user-profile-password branch November 18, 2024 06:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants