]> git.mxchange.org Git - friendica.git/blobdiff - tests/src/Core/SystemTest.php
Improved logging
[friendica.git] / tests / src / Core / SystemTest.php
index eaa704d9d9ee269c391677ea8233da47294b2087..c47539c79f18d574494e47546581c4c4bea6cf81 100644 (file)
@@ -32,11 +32,11 @@ 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);
 
-               DI::init($dice);
+               DI::init($dice, true);
        }
 
        private function assertGuid($guid, $length, $prefix = '')