File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
modules/pubmatic/openwrap Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4239,7 +4239,7 @@ func TestOpenWrapHandleBeforeValidationHook(t *testing.T) {
4239
4239
models .DisplayVersionID : "1" ,
4240
4240
},
4241
4241
}, nil )
4242
- mockCache .EXPECT ().GetThrottlePartnersWithCriteria (gomock .Any ()).Return (map [string ]struct {}{"pubmatic" : struct {} {}}, nil )
4242
+ mockCache .EXPECT ().GetThrottlePartnersWithCriteria (gomock .Any ()).Return (map [string ]struct {}{"pubmatic" : {}}, nil )
4243
4243
//prometheus metrics
4244
4244
mockEngine .EXPECT ().RecordPublisherProfileRequests ("5890" , "1234" )
4245
4245
mockEngine .EXPECT ().RecordBadRequests (rctx .Endpoint , rctx .PubIDStr , getPubmaticErrorCode (nbr .InvalidPlatform ))
@@ -4289,7 +4289,7 @@ func TestOpenWrapHandleBeforeValidationHook(t *testing.T) {
4289
4289
models .PLATFORM_KEY : models .PLATFORM_APP ,
4290
4290
},
4291
4291
}, nil )
4292
- mockCache .EXPECT ().GetThrottlePartnersWithCriteria (gomock .Any ()).Return (map [string ]struct {}{"appnexus" : struct {} {}}, nil )
4292
+ mockCache .EXPECT ().GetThrottlePartnersWithCriteria (gomock .Any ()).Return (map [string ]struct {}{"appnexus" : {}}, nil )
4293
4293
//prometheus metrics
4294
4294
mockEngine .EXPECT ().RecordPublisherProfileRequests ("5890" , "1234" )
4295
4295
mockEngine .EXPECT ().RecordPartnerThrottledRequests ("5890" , "appnexus" , models .PartnerLevelThrottlingFeatureID )
You can’t perform that action at this time.
0 commit comments