Skip to content

Commit

Permalink
fix: remove stray new lines
Browse files Browse the repository at this point in the history
  • Loading branch information
J0 committed Mar 5, 2024
1 parent 330c405 commit 01e99ed
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions internal/api/mfa_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ func (ts *MFATestSuite) TestEnrollFactor() {

factors, err := models.FindFactorsByUser(ts.API.db, ts.TestUser)
ts.Require().NoError(err)

addedFactor := factors[len(factors)-1]
require.False(ts.T(), addedFactor.IsVerified())
if c.friendlyName != "" && c.expectedCode == http.StatusOK {
Expand Down Expand Up @@ -345,7 +344,6 @@ func (ts *MFATestSuite) TestUnenrollUnverifiedFactor() {
// Integration Tests
func (ts *MFATestSuite) TestSessionsMaintainAALOnRefresh() {
ts.Config.Security.RefreshTokenRotationEnabled = true

resp := performTestSignupAndVerify(ts, ts.TestEmail, ts.TestPassword, true /* <- requireStatusOK */)
accessTokenResp := &AccessTokenResponse{}
require.NoError(ts.T(), json.NewDecoder(resp.Body).Decode(&accessTokenResp))
Expand Down
1 change: 0 additions & 1 deletion internal/models/challenge.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ func FindChallengeByID(tx *storage.Connection, challengeID uuid.UUID) (*Challeng
} else if err != nil {
return nil, err
}

return &challenge, nil
}

Expand Down

0 comments on commit 01e99ed

Please sign in to comment.