diff --git a/saml/response_test.go b/saml/response_test.go index 9997389..9685793 100644 --- a/saml/response_test.go +++ b/saml/response_test.go @@ -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") @@ -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) }) }