From b4cb5631ad7dea270b84da29a5c0b0975ff39e2a Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 21 Nov 2021 10:23:54 +0000 Subject: [PATCH] Fixing tests again --- tests/src/Module/Api/ApiResponseTest.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/src/Module/Api/ApiResponseTest.php b/tests/src/Module/Api/ApiResponseTest.php index 69fb799e1..707638ac2 100644 --- a/tests/src/Module/Api/ApiResponseTest.php +++ b/tests/src/Module/Api/ApiResponseTest.php @@ -22,7 +22,7 @@ class ApiResponseTest extends MockedTest $l10n = \Mockery::mock(L10n::class); $args = \Mockery::mock(Arguments::class); $args->shouldReceive('getQueryString')->andReturn(''); - $baseUrl = \Mockery::mock(BaseURL::class); + $baseUrl = \Mockery::mock(Friendica\App\BaseURL::class); $twitterUser = \Mockery::mock(Friendica\Factory\Api\Twitter\User::class); $response = new ApiResponseDouble($l10n, $args, new NullLogger(), $baseUrl, $twitterUser); @@ -36,7 +36,7 @@ class ApiResponseTest extends MockedTest $l10n = \Mockery::mock(L10n::class); $args = \Mockery::mock(Arguments::class); $args->shouldReceive('getQueryString')->andReturn(''); - $baseUrl = \Mockery::mock(BaseURL::class); + $baseUrl = \Mockery::mock(Friendica\App\BaseURL::class); $twitterUser = \Mockery::mock(Friendica\Factory\Api\Twitter\User::class); $response = new ApiResponseDouble($l10n, $args, new NullLogger(), $baseUrl, $twitterUser); @@ -58,7 +58,7 @@ class ApiResponseTest extends MockedTest $l10n = \Mockery::mock(L10n::class); $args = \Mockery::mock(Arguments::class); $args->shouldReceive('getQueryString')->andReturn(''); - $baseUrl = \Mockery::mock(BaseURL::class); + $baseUrl = \Mockery::mock(Friendica\App\BaseURL::class); $twitterUser = \Mockery::mock(Friendica\Factory\Api\Twitter\User::class); $response = new ApiResponseDouble($l10n, $args, new NullLogger(), $baseUrl, $twitterUser); @@ -81,7 +81,7 @@ class ApiResponseTest extends MockedTest $l10n = \Mockery::mock(L10n::class); $args = \Mockery::mock(Arguments::class); $args->shouldReceive('getQueryString')->andReturn(''); - $baseUrl = \Mockery::mock(BaseURL::class); + $baseUrl = \Mockery::mock(Friendica\App\BaseURL::class); $twitterUser = \Mockery::mock(Friendica\Factory\Api\Twitter\User::class); $response = new ApiResponseDouble($l10n, $args, new NullLogger(), $baseUrl, $twitterUser); @@ -107,7 +107,7 @@ class ApiResponseTest extends MockedTest }); $args = \Mockery::mock(Arguments::class); $args->shouldReceive('getQueryString')->andReturn(''); - $baseUrl = \Mockery::mock(BaseURL::class); + $baseUrl = \Mockery::mock(Friendica\App\BaseURL::class); $twitterUser = \Mockery::mock(Friendica\Factory\Api\Twitter\User::class); $response = new ApiResponseDouble($l10n, $args, new NullLogger(), $baseUrl, $twitterUser);