mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-08 08:14:25 +02:00
The redundant function "fetchfull" is removed
This commit is contained in:
parent
9bf5b27362
commit
22828388c0
6 changed files with 25 additions and 43 deletions
|
@ -353,11 +353,11 @@ class InstallerTest extends MockedTest
|
|||
// Mocking the CURL Request
|
||||
$networkMock = Mockery::mock(ICanSendHttpRequests::class);
|
||||
$networkMock
|
||||
->shouldReceive('fetchFull')
|
||||
->shouldReceive('get')
|
||||
->with('https://test/install/testrewrite')
|
||||
->andReturn($IHTTPResult);
|
||||
$networkMock
|
||||
->shouldReceive('fetchFull')
|
||||
->shouldReceive('get')
|
||||
->with('http://test/install/testrewrite')
|
||||
->andReturn($IHTTPResult);
|
||||
|
||||
|
@ -400,11 +400,11 @@ class InstallerTest extends MockedTest
|
|||
// Mocking the CURL Request
|
||||
$networkMock = Mockery::mock(ICanSendHttpRequests::class);
|
||||
$networkMock
|
||||
->shouldReceive('fetchFull')
|
||||
->shouldReceive('get')
|
||||
->with('https://test/install/testrewrite')
|
||||
->andReturn($IHTTPResultF);
|
||||
$networkMock
|
||||
->shouldReceive('fetchFull')
|
||||
->shouldReceive('get')
|
||||
->with('http://test/install/testrewrite')
|
||||
->andReturn($IHTTPResultW);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue