Use HTTPS URLs in tests
This commit is contained in:
parent
363bf9b08c
commit
dad8b6d704
4 changed files with 11 additions and 11 deletions
|
@ -191,7 +191,7 @@ class FrontControllerTest extends ControllerTest
|
|||
public function testInfoWithPassword()
|
||||
{
|
||||
$result = $this->controller->info(
|
||||
$this->container->get('request')->withQueryParams(['url' => 'http://vimeo.com/68375962'])
|
||||
$this->container->get('request')->withQueryParams(['url' => 'https://vimeo.com/68375962'])
|
||||
->withParsedBody(['password' => 'youtube-dl']),
|
||||
$this->container->get('response')
|
||||
);
|
||||
|
@ -206,8 +206,8 @@ class FrontControllerTest extends ControllerTest
|
|||
*/
|
||||
public function testInfoWithMissingPassword()
|
||||
{
|
||||
$this->assertRequestIsClientError('info', ['url' => 'http://vimeo.com/68375962']);
|
||||
$this->assertRequestIsClientError('info', ['url' => 'http://vimeo.com/68375962', 'audio' => true]);
|
||||
$this->assertRequestIsClientError('info', ['url' => 'https://vimeo.com/68375962']);
|
||||
$this->assertRequestIsClientError('info', ['url' => 'https://vimeo.com/68375962', 'audio' => true]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue