mirror of
https://github.com/friendica/friendica
synced 2025-04-24 00:30:11 +00:00
Use public contact ids where they should be used in API fixture data
This commit is contained in:
parent
ba0a8069c4
commit
0d922b75af
2 changed files with 106 additions and 106 deletions
|
@ -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,
|
||||
]);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue