feat: Make streaming optional when stream mode is enabled

Closes #218
This commit is contained in:
Pierre Rudloff 2019-04-28 00:25:03 +02:00
parent 9313bc2230
commit b91fe78dcd
3 changed files with 8 additions and 2 deletions

View file

@ -67,7 +67,7 @@ class DownloadControllerTest extends ControllerTest
$this->assertRequestIsOk(
'download',
['url' => 'https://www.youtube.com/watch?v=M7IpKCZ47pU']
['url' => 'https://www.youtube.com/watch?v=M7IpKCZ47pU', 'stream' => true]
);
}
@ -89,6 +89,7 @@ class DownloadControllerTest extends ControllerTest
[
'url' => 'https://twitter.com/verge/status/813055465324056576/video/1',
'format' => 'hls-2176',
'stream' => true,
]
);
}