Skip to content
This repository has been archived by the owner on Dec 22, 2022. It is now read-only.

Commit

Permalink
Added a missing param causing the build to break. (prebid#720)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbemiller authored Oct 23, 2018
1 parent c47da13 commit ddc9ec3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions endpoints/openrtb2/amp_auction_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,12 @@ import (

"github.com/mxmCherry/openrtb"
analyticsConf "github.com/prebid/prebid-server/analytics/config"
"github.com/stretchr/testify/assert"

"github.com/prebid/prebid-server/config"
"github.com/prebid/prebid-server/exchange"
"github.com/prebid/prebid-server/openrtb_ext"
"github.com/prebid/prebid-server/pbsmetrics"
"github.com/rcrowley/go-metrics"
"github.com/stretchr/testify/assert"
)

// From auction_test.go
Expand Down Expand Up @@ -103,7 +102,7 @@ func TestAMPSiteExt(t *testing.T) {
}
theMetrics := pbsmetrics.NewMetrics(metrics.NewRegistry(), openrtb_ext.BidderList())
exchange := &mockAmpExchange{}
endpoint, _ := NewAmpEndpoint(exchange, newParamsValidator(t), &mockAmpStoredReqFetcher{stored}, &config.Configuration{MaxRequestSize: maxSize}, theMetrics, analyticsConf.NewPBSAnalytics(&config.Analytics{}))
endpoint, _ := NewAmpEndpoint(exchange, newParamsValidator(t), &mockAmpStoredReqFetcher{stored}, &config.Configuration{MaxRequestSize: maxSize}, theMetrics, analyticsConf.NewPBSAnalytics(&config.Analytics{}), nil)
request, err := http.NewRequest("GET", "/openrtb2/auction/amp?tag_id=1", nil)
if !assert.NoError(t, err) {
return
Expand Down

0 comments on commit ddc9ec3

Please sign in to comment.