mirror of
https://github.com/friendica/friendica
synced 2025-05-11 19:44:09 +02:00
adaptions :-)
This commit is contained in:
parent
12ba37e8d2
commit
5bf5b5e6c9
3 changed files with 12 additions and 7 deletions
|
@ -120,7 +120,7 @@ class RequestTest extends MockedTest
|
|||
{
|
||||
$configClass = \Mockery::mock(IManageConfigValues::class);
|
||||
$configClass->shouldReceive('get')->with('proxy', 'trusted_proxies', '')->andReturn($config['trusted_proxies']);
|
||||
$configClass->shouldReceive('get')->with('proxy', 'forwarded_for_headers')->andReturn($config['forwarded_for_headers']);
|
||||
$configClass->shouldReceive('get')->with('proxy', 'forwarded_for_headers', Request::DEFAULT_FORWARD_FOR_HEADER)->andReturn($config['forwarded_for_headers']);
|
||||
|
||||
$request = new Request($configClass, $server);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue