mirror of
https://github.com/friendica/friendica
synced 2024-11-17 20:23:40 +00:00
Normalize API fixture data
- Change public contact name to the related local user name - Add location data to profile record that is used to update self and public contact during Auth
This commit is contained in:
parent
ba07172a65
commit
1b651519a3
2 changed files with 3 additions and 2 deletions
|
@ -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' => [
|
||||
|
|
|
@ -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'
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue