$this->pConfig = \Mockery::mock(IManagePersonalConfigValues::class);
$this->l10n = \Mockery::mock(L10n::class);
$this->baseUrl = \Mockery::mock(BaseURL::class);
- $this->baseUrl->shouldReceive('getHostname')->andReturn('friendica.local');
- $this->baseUrl->shouldReceive('get')->andReturn('http://friendica.local');
+ $this->baseUrl->shouldReceive('getHost')->andReturn('friendica.local');
+ $this->baseUrl->shouldReceive('__toString')->andReturn('http://friendica.local');
}
protected function tearDown(): void