Skip to content

Commit

Permalink
added VISX vendor ID for usersyncing (#1229)
Browse files Browse the repository at this point in the history
Co-authored-by: Aadesh Patel <[email protected]>
  • Loading branch information
Aadeshp and Aadesh Patel authored Mar 25, 2020
1 parent dcc062a commit c7ead07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion adapters/visx/usersync.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ import (
)

func NewVisxSyncer(temp *template.Template) usersync.Usersyncer {
return adapters.NewSyncer("visx", 0, temp, adapters.SyncTypeRedirect)
return adapters.NewSyncer("visx", 154, temp, adapters.SyncTypeRedirect)
}
2 changes: 1 addition & 1 deletion adapters/visx/usersync_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ func TestVisxSyncer(t *testing.T) {
assert.NoError(t, err)
assert.Equal(t, "https://t.visx.net/s2s_sync?gdpr=A&gdpr_consent=B&us_privacy=C&redir=%2Fsetuid%3Fbidder%3Dvisx%26gdpr%3DA%26gdpr_consent%3DB%26uid%3D%24%7BUUID%7D", syncInfo.URL)
assert.Equal(t, "redirect", syncInfo.Type)
assert.EqualValues(t, 0, syncer.GDPRVendorID())
assert.EqualValues(t, 154, syncer.GDPRVendorID())
assert.Equal(t, false, syncInfo.SupportCORS)
}

0 comments on commit c7ead07

Please sign in to comment.