feat: upload audio, get a private Swedish transcript, discuss it (#33, ADR-033) #39
@@ -29,16 +29,14 @@ func TestValidate(t *testing.T) {
|
||||
probe: uploads.Probe{Duration: 90 * time.Minute, HasAudio: true},
|
||||
},
|
||||
{
|
||||
name: "a file with a video stream is rejected and names issue 28",
|
||||
probe: uploads.Probe{Duration: 4 * time.Minute, HasAudio: true, HasVideo: true},
|
||||
wantReason: uploads.ReasonVideo,
|
||||
wantInMsg: []string{"video", "#28"},
|
||||
name: "a recording that also has a video stream is accepted: the audio is what is used",
|
||||
probe: uploads.Probe{Duration: 4 * time.Minute, HasAudio: true, HasVideo: true},
|
||||
},
|
||||
{
|
||||
name: "video with no audio is still rejected as video, not as missing audio",
|
||||
name: "video with no audio is rejected as having no audio, and says so",
|
||||
probe: uploads.Probe{Duration: 4 * time.Minute, HasVideo: true},
|
||||
wantReason: uploads.ReasonVideo,
|
||||
wantInMsg: []string{"#28"},
|
||||
wantReason: uploads.ReasonNoAudio,
|
||||
wantInMsg: []string{"no audio"},
|
||||
},
|
||||
{
|
||||
name: "a file with no audio stream is rejected",
|
||||
|
||||
Reference in New Issue
Block a user