Skip to content

Commit 48a0445

Browse files
committed
Add bsm/openrtb package on request test
1 parent 4263ac9 commit 48a0445

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

native/request/request_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import (
55
"io/ioutil"
66
"testing"
77

8+
"github.com/bsm/openrtb"
89
. "github.com/onsi/ginkgo"
910
. "github.com/onsi/gomega"
1011
)
@@ -24,7 +25,7 @@ var _ = Describe("Request", func() {
2425
{ID: 128, Image: &Image{TypeID: ImageTypeMain, WidthMin: 836, HeightMin: 627, Width: 1000, Height: 800, Mimes: []string{"image/jpg"}}},
2526
{ID: 126, Required: 1, Data: &Data{TypeID: DataTypeSponsored, Length: 25}},
2627
{ID: 127, Required: 1, Data: &Data{TypeID: DataTypeDesc, Length: 140}},
27-
{ID: 4, Video: &Video{MinDuration: 15, MaxDuration: 30, Protocols: []int{VideoProtoVAST2, VideoProtoVAST3}, Mimes: []string{"video/mp4"}}},
28+
{ID: 4, Video: &Video{MinDuration: 15, MaxDuration: 30, Protocols: []int{openrtb.VideoProtoVAST2, openrtb.VideoProtoVAST3}, Mimes: []string{"video/mp4"}}},
2829
},
2930
}))
3031
})

0 commit comments

Comments
 (0)