1
1
Fork 0

Fix "location" entry for contacts in API test dataset

This commit is contained in:
Philipp Holzer 2020-08-19 22:29:04 +02:00
parent 672f71a7ff
commit 3c35901380
No known key found for this signature in database
GPG key ID: 9A28B7D4FF5667BD

View file

@ -70,6 +70,7 @@ return [
'blocked' => 0, 'blocked' => 0,
'rel' => 1, 'rel' => 1,
'network' => 'dfrn', 'network' => 'dfrn',
'location' => 'DFRN',
], ],
// Having the same name and nick allows us to test // Having the same name and nick allows us to test
// the fallback to api_get_nick() in api_get_user() // the fallback to api_get_nick() in api_get_user()
@ -85,6 +86,7 @@ return [
'blocked' => 0, 'blocked' => 0,
'rel' => 0, 'rel' => 0,
'network' => 'dfrn', 'network' => 'dfrn',
'location' => 'DFRN',
], ],
[ [
'id' => 44, 'id' => 44,
@ -98,6 +100,7 @@ return [
'blocked' => 0, 'blocked' => 0,
'rel' => 2, 'rel' => 2,
'network' => 'dfrn', 'network' => 'dfrn',
'location' => 'DFRN',
], ],
[ [
'id' => 45, 'id' => 45,
@ -111,6 +114,7 @@ return [
'blocked' => 0, 'blocked' => 0,
'rel' => 2, 'rel' => 2,
'network' => 'dfrn', 'network' => 'dfrn',
'location' => 'DFRN',
], ],
[ [
'id' => 46, 'id' => 46,
@ -124,6 +128,7 @@ return [
'blocked' => 0, 'blocked' => 0,
'rel' => 3, 'rel' => 3,
'network' => 'dfrn', 'network' => 'dfrn',
'location' => 'DFRN',
], ],
[ [
'id' => 47, 'id' => 47,
@ -137,6 +142,7 @@ return [
'blocked' => 0, 'blocked' => 0,
'rel' => 2, 'rel' => 2,
'network' => 'dfrn', 'network' => 'dfrn',
'location' => 'DFRN',
], ],
], ],
'item-uri' => [ 'item-uri' => [