Use public contact ids where they should be used in API fixture data

This commit is contained in:
Hypolite Petovan 2024-02-25 01:30:23 -05:00
parent ba0a8069c4
commit 0d922b75af
2 changed files with 106 additions and 106 deletions

View file

@ -38,7 +38,7 @@ class UserTimelineTest extends ApiTest
{
$response = (new UserTimeline(DI::mstdnError(), DI::app(), DI::l10n(), DI::baseUrl(), DI::args(), DI::logger(), DI::profiler(), DI::apiResponse(), []))
->run($this->httpExceptionMock, [
'user_id' => 42,
'user_id' => 43, // Public contact id
'max_id' => 10,
'exclude_replies' => true,
'conversation_id' => 1,
@ -63,7 +63,7 @@ class UserTimelineTest extends ApiTest
{
$response = (new UserTimeline(DI::mstdnError(), DI::app(), DI::l10n(), DI::baseUrl(), DI::args(), DI::logger(), DI::profiler(), DI::apiResponse(), []))
->run($this->httpExceptionMock, [
'user_id' => 42,
'user_id' => 43, // Public contact id
'page' => -2,
]);