Merge pull request #10 from MrPetovan/bug/last-activity-api-fixture-fix

Normalize API fixture data
This commit is contained in:
Michael Vogel 2024-03-05 16:29:00 +01:00 committed by GitHub
commit 5ab81abaa6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View file

@ -215,7 +215,7 @@ return [
'id' => 48,
'uid' => 0,
'uri-id' => 42,
'name' => 'Self contact',
'name' => 'Test user',
'nick' => 'selfcontact',
'self' => 0,
'nurl' => 'http://friendica.local/profile/selfcontact',
@ -928,6 +928,7 @@ return [
[
'id' => 1,
'uid' => 42,
'locality' => 'DFRN',
],
],
'group' => [

View file

@ -43,7 +43,7 @@ abstract class ApiTest extends FixtureTest
// User data that the test database is populated with
const SELF_USER = [
'id' => 42,
'name' => 'Self contact',
'name' => 'Test user',
'nick' => 'selfcontact',
'nurl' => 'http://localhost/profile/selfcontact'
];