Adapt tests to use new BaseURL UriInterface
This commit is contained in:
parent
402d45d490
commit
9e6d95284b
7 changed files with 15 additions and 22 deletions
|
@ -32,7 +32,7 @@ class SystemTest extends TestCase
|
|||
private function useBaseUrl()
|
||||
{
|
||||
$baseUrl = \Mockery::mock(BaseURL::class);
|
||||
$baseUrl->shouldReceive('getHostname')->andReturn('friendica.local')->once();
|
||||
$baseUrl->shouldReceive('getHost')->andReturn('friendica.local')->once();
|
||||
$dice = \Mockery::mock(Dice::class);
|
||||
$dice->shouldReceive('create')->with(BaseURL::class)->andReturn($baseUrl);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue