Skip to content

Commit

Permalink
Fix go 1.6 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
russellhaering committed May 8, 2018
1 parent d4877be commit 4f38118
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions providertests/exercise_go_1_6.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ package providertests
import (
"testing"

saml2 "github.com/russellhaering/gosaml2"
"github.com/stretchr/testify/require"
)

Expand All @@ -13,6 +14,7 @@ func ExerciseProviderTestScenarios(t *testing.T, scenarios []ProviderTestScenari
// DecodeUnverifiedBaseResponse is more permissive than RetrieveAssertionInfo.
// If an error _is_ returned it should match, but it is OK for no error to be
// returned even when one is expected during full validation.
_, err := saml2.DecodeUnverifiedBaseResponse(scenario.Response)
if err != nil {
scenario.CheckError(t, err)
}
Expand Down

0 comments on commit 4f38118

Please sign in to comment.