Skip to content

Commit db7e59f

Browse files
Merge branch '4.1'
* 4.1: fix merge
2 parents 680e73c + 1c4e2f3 commit db7e59f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Tests/ClientTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -380,15 +380,13 @@ public function testSubmitForm()
380380
'password' => 'new password',
381381
), 'PUT', array(
382382
'HTTP_USER_AGENT' => 'Symfony User Agent',
383-
'HTTPS' => true,
384383
));
385384

386-
$this->assertEquals('https://www.example.com/foo', $client->getRequest()->getUri(), '->submitForm() submit forms');
385+
$this->assertEquals('http://www.example.com/foo', $client->getRequest()->getUri(), '->submitForm() submit forms');
387386
$this->assertEquals('PUT', $client->getRequest()->getMethod(), '->submitForm() allows to change the method');
388387
$this->assertEquals('new username', $client->getRequest()->getParameters()['username'], '->submitForm() allows to override the form values');
389388
$this->assertEquals('new password', $client->getRequest()->getParameters()['password'], '->submitForm() allows to override the form values');
390389
$this->assertEquals('Symfony User Agent', $client->getRequest()->getServer()['HTTP_USER_AGENT'], '->submitForm() allows to change the $_SERVER parameters');
391-
$this->assertTrue($client->getRequest()->getServer()['HTTPS'], '->submitForm() allows to change the $_SERVER parameters');
392390
}
393391

394392
public function testSubmitFormNotFound()

0 commit comments

Comments
 (0)