Skip to content

Commit cbd901e

Browse files
author
Francisco Souza
committed
encodingcom: use a proper value for Format.Output in tests
That's a container, not a URL. Closes #45.
1 parent 7305a6a commit cbd901e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

media_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ func TestAddMedia(t *testing.T) {
1212

1313
client := Client{Endpoint: server.URL, UserID: "myuser", UserKey: "123"}
1414
format := Format{
15-
Output: []string{"http://another.non.existent/video.mp4"},
15+
Output: []string{"mp4"},
1616
VideoCodec: "x264",
1717
AudioCodec: "aac",
1818
Bitrate: "900k",
@@ -44,7 +44,7 @@ func TestAddMediaError(t *testing.T) {
4444

4545
client := Client{Endpoint: server.URL, UserID: "myuser", UserKey: "123"}
4646
format := Format{
47-
Output: []string{"http://another.non.existent/video.mp4"},
47+
Output: []string{"mp4"},
4848
VideoCodec: "x264",
4949
AudioCodec: "aac",
5050
Bitrate: "900k",

0 commit comments

Comments
 (0)