Skip to content

Commit

Permalink
Fixes a test to match the IP cleaning patch (#689)
Browse files Browse the repository at this point in the history
  • Loading branch information
hhhjort authored Sep 19, 2018
1 parent 7aa0cce commit 3c11999
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exchange/gdpr_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func TestCleanPIAmp(t *testing.T) {
// Verify cleaned values
assert.Equal(t, "abc123", bidReqCopy.User.BuyerUID)
assertStringEmpty(t, bidReqCopy.Device.DIDMD5)
assert.Equal(t, "12.123.56.000", bidReqCopy.Device.IP)
assert.Equal(t, "12.123.56.0", bidReqCopy.Device.IP)
assert.Equal(t, "2001:0db8:85a3:0000:0000:8a2e:0370:0000", bidReqCopy.Device.IPv6)
assert.Equal(t, 123.46, bidReqCopy.Device.Geo.Lat)
assert.Equal(t, 7.98, bidReqCopy.Device.Geo.Lon)
Expand Down

0 comments on commit 3c11999

Please sign in to comment.