[Tests] Add test for Module\Api\Twitter\ContactEndpoint
- Add necessary fixture data
This commit is contained in:
parent
95138ae7d1
commit
5bfbc1224c
3 changed files with 315 additions and 0 deletions
|
@ -99,6 +99,45 @@ return [
|
|||
'rel' => 2,
|
||||
'network' => 'dfrn',
|
||||
],
|
||||
[
|
||||
'id' => 45,
|
||||
'uid' => 0,
|
||||
'name' => 'Friend contact',
|
||||
'nick' => 'friendcontact',
|
||||
'self' => 0,
|
||||
'nurl' => 'http://localhost/profile/friendcontact',
|
||||
'url' => 'http://localhost/profile/friendcontact',
|
||||
'pending' => 0,
|
||||
'blocked' => 0,
|
||||
'rel' => 2,
|
||||
'network' => 'dfrn',
|
||||
],
|
||||
[
|
||||
'id' => 46,
|
||||
'uid' => 42,
|
||||
'name' => 'Mutual contact',
|
||||
'nick' => 'mutualcontact',
|
||||
'self' => 0,
|
||||
'nurl' => 'http://localhost/profile/mutualcontact',
|
||||
'url' => 'http://localhost/profile/mutualcontact',
|
||||
'pending' => 0,
|
||||
'blocked' => 0,
|
||||
'rel' => 3,
|
||||
'network' => 'dfrn',
|
||||
],
|
||||
[
|
||||
'id' => 47,
|
||||
'uid' => 0,
|
||||
'name' => 'Mutual contact',
|
||||
'nick' => 'mutualcontact',
|
||||
'self' => 0,
|
||||
'nurl' => 'http://localhost/profile/mutualcontact',
|
||||
'url' => 'http://localhost/profile/mutualcontact',
|
||||
'pending' => 0,
|
||||
'blocked' => 0,
|
||||
'rel' => 2,
|
||||
'network' => 'dfrn',
|
||||
],
|
||||
],
|
||||
'item-uri' => [
|
||||
[
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue