Merge pull request #10 from MrPetovan/bug/last-activity-api-fixture-fix
Normalize API fixture data
This commit is contained in:
commit
5ab81abaa6
|
@ -215,7 +215,7 @@ return [
|
||||||
'id' => 48,
|
'id' => 48,
|
||||||
'uid' => 0,
|
'uid' => 0,
|
||||||
'uri-id' => 42,
|
'uri-id' => 42,
|
||||||
'name' => 'Self contact',
|
'name' => 'Test user',
|
||||||
'nick' => 'selfcontact',
|
'nick' => 'selfcontact',
|
||||||
'self' => 0,
|
'self' => 0,
|
||||||
'nurl' => 'http://friendica.local/profile/selfcontact',
|
'nurl' => 'http://friendica.local/profile/selfcontact',
|
||||||
|
@ -928,6 +928,7 @@ return [
|
||||||
[
|
[
|
||||||
'id' => 1,
|
'id' => 1,
|
||||||
'uid' => 42,
|
'uid' => 42,
|
||||||
|
'locality' => 'DFRN',
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'group' => [
|
'group' => [
|
||||||
|
|
|
@ -43,7 +43,7 @@ abstract class ApiTest extends FixtureTest
|
||||||
// User data that the test database is populated with
|
// User data that the test database is populated with
|
||||||
const SELF_USER = [
|
const SELF_USER = [
|
||||||
'id' => 42,
|
'id' => 42,
|
||||||
'name' => 'Self contact',
|
'name' => 'Test user',
|
||||||
'nick' => 'selfcontact',
|
'nick' => 'selfcontact',
|
||||||
'nurl' => 'http://localhost/profile/selfcontact'
|
'nurl' => 'http://localhost/profile/selfcontact'
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user