Skip to content

Commit

Permalink
PR Feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
SyntaxNode committed Dec 9, 2019
1 parent ddc28ae commit 4856058
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion adapters/consumable/usersync_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@ func TestConsumableSyncer(t *testing.T) {
)

syncer := NewConsumableSyncer(syncURLTemplate)
u, _ := syncer.GetUsersyncInfo(privacy.Policies{
u, err := syncer.GetUsersyncInfo(privacy.Policies{
GDPR: gdpr.Policy{
Signal: "0",
},
})

assert.NoError(t, err)
assert.Equal(t, "//e.serverbid.com/udb/9969/match?redir=http%3A%2F%2Flocalhost%3A8000%2Fsetuid%3Fbidder%3Dconsumable%26gdpr%3D0%26gdpr_consent%3D%26uid%3D", u.URL)
assert.Equal(t, "redirect", u.Type)
assert.Equal(t, uint16(65535), syncer.GDPRVendorID())
Expand Down

0 comments on commit 4856058

Please sign in to comment.