Skip to content

Commit

Permalink
fix(consent): fix few test cases for validate csrf session
Browse files Browse the repository at this point in the history
  • Loading branch information
Joao Cardoso committed Apr 24, 2020
1 parent 1f11ca0 commit 1d4effa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions consent/helper_test.go
Expand Up @@ -201,7 +201,7 @@ func TestValidateCsrfSession(t *testing.T) {
{
name: cookieAuthenticationCSRFName,
csrfValue: "CSRF-VALUE",
sameSite: http.SameSiteDefaultMode,
sameSite: http.SameSiteNoneMode,
},
{
name: legacyCsrfSessionName(cookieAuthenticationCSRFName),
Expand All @@ -218,7 +218,7 @@ func TestValidateCsrfSession(t *testing.T) {
{
name: cookieAuthenticationCSRFName,
csrfValue: "CSRF-VALUE",
sameSite: http.SameSiteDefaultMode,
sameSite: http.SameSiteNoneMode,
},
{
name: legacyCsrfSessionName(cookieAuthenticationCSRFName),
Expand Down

0 comments on commit 1d4effa

Please sign in to comment.