Skip to content

Commit

Permalink
Update mpd_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
DeadInside1985 committed Jun 8, 2021
1 parent 54066af commit 94b3d43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mpd/mpd_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ func TestWidevineContentProtection_ImplementsInterface(t *testing.T) {

func TestNewMPDLiveWithBaseURLInMPD(t *testing.T) {
m := NewMPD(DASH_PROFILE_LIVE, VALID_MEDIA_PRESENTATION_DURATION, VALID_MIN_BUFFER_TIME)
m.BaseURL = VALID_BASE_URL_VIDEO
m.BaseURL = []string{VALID_BASE_URL_VIDEO}
require.NotNil(t, m)
expectedMPD := &MPD{
XMLNs: Strptr("urn:mpeg:dash:schema:mpd:2011"),
Expand All @@ -160,7 +160,7 @@ func TestNewMPDLiveWithBaseURLInMPD(t *testing.T) {
MinBufferTime: Strptr(VALID_MIN_BUFFER_TIME),
period: &Period{},
Periods: []*Period{{}},
BaseURL: VALID_BASE_URL_VIDEO,
BaseURL: []string{VALID_BASE_URL_VIDEO},
}

expectedString, err := expectedMPD.WriteToString()
Expand Down

0 comments on commit 94b3d43

Please sign in to comment.