Skip to content

Commit

Permalink
fixup! tests (saml): minor code improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
jimlambrt committed Sep 9, 2023
1 parent 65cb44c commit a0878cf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions saml/response_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ func TestServiceProvider_ParseResponse(t *testing.T) {
}

func TestServiceProvider_ParseResponseCustomACS(t *testing.T) {
t.Parallel()
r := require.New(t)

fakeTime, err := time.Parse("2006-01-02", "2015-07-15")
Expand Down Expand Up @@ -151,9 +152,9 @@ func TestServiceProvider_ParseResponseCustomACS(t *testing.T) {
)
if c.err == "" {
require.NoError(t, err)
} else {
require.ErrorContains(t, err, c.err)
return
}
require.ErrorContains(t, err, c.err)
})
}

Expand Down

0 comments on commit a0878cf

Please sign in to comment.