]> git.mxchange.org Git - friendica.git/blobdiff - tests/src/Core/SystemTest.php
Improved logging
[friendica.git] / tests / src / Core / SystemTest.php
index 9cfbe052cadfe235ca2f641f7f20381ad7a07ecc..c47539c79f18d574494e47546581c4c4bea6cf81 100644 (file)
@@ -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);