Fix boolean values in test data
This commit is contained in:
parent
f9747708d8
commit
d31e3b16ff
|
@ -14,7 +14,7 @@ user:
|
||||||
uid: 42
|
uid: 42
|
||||||
username: Test user
|
username: Test user
|
||||||
nickname: selfcontact
|
nickname: selfcontact
|
||||||
verified: true
|
verified: 1
|
||||||
password: $2y$10$DLRNTRmJgKe1cSrFJ5Jb0edCqvXlA9sh/RHdSnfxjbR.04yZRm4Qm
|
password: $2y$10$DLRNTRmJgKe1cSrFJ5Jb0edCqvXlA9sh/RHdSnfxjbR.04yZRm4Qm
|
||||||
theme: frio
|
theme: frio
|
||||||
|
|
||||||
|
@ -24,12 +24,12 @@ contact:
|
||||||
uid: 42
|
uid: 42
|
||||||
name: Self contact
|
name: Self contact
|
||||||
nick: selfcontact
|
nick: selfcontact
|
||||||
self: true
|
self: 1
|
||||||
nurl: http://localhost/profile/selfcontact
|
nurl: http://localhost/profile/selfcontact
|
||||||
url: http://localhost/profile/selfcontact
|
url: http://localhost/profile/selfcontact
|
||||||
about: User used in tests
|
about: User used in tests
|
||||||
pending: false
|
pending: 0
|
||||||
blocked: false
|
blocked: 0
|
||||||
rel: 1
|
rel: 1
|
||||||
network: dfrn
|
network: dfrn
|
||||||
-
|
-
|
||||||
|
@ -39,11 +39,11 @@ contact:
|
||||||
# the fallback to api_get_nick() in api_get_user()
|
# the fallback to api_get_nick() in api_get_user()
|
||||||
name: othercontact
|
name: othercontact
|
||||||
nick: othercontact
|
nick: othercontact
|
||||||
self: false
|
self: 0
|
||||||
nurl: http://localhost/profile/othercontact
|
nurl: http://localhost/profile/othercontact
|
||||||
url: http://localhost/profile/othercontact
|
url: http://localhost/profile/othercontact
|
||||||
pending: false
|
pending: 0
|
||||||
blocked: false
|
blocked: 0
|
||||||
rel: 0
|
rel: 0
|
||||||
network: dfrn
|
network: dfrn
|
||||||
-
|
-
|
||||||
|
@ -51,150 +51,150 @@ contact:
|
||||||
uid: 0
|
uid: 0
|
||||||
name: Friend contact
|
name: Friend contact
|
||||||
nick: friendcontact
|
nick: friendcontact
|
||||||
self: false
|
self: 0
|
||||||
nurl: http://localhost/profile/friendcontact
|
nurl: http://localhost/profile/friendcontact
|
||||||
url: http://localhost/profile/friendcontact
|
url: http://localhost/profile/friendcontact
|
||||||
pending: false
|
pending: 0
|
||||||
blocked: false
|
blocked: 0
|
||||||
rel: 2
|
rel: 2
|
||||||
network: dfrn
|
network: dfrn
|
||||||
|
|
||||||
item:
|
item:
|
||||||
-
|
-
|
||||||
id: 1
|
id: 1
|
||||||
visible: true
|
visible: 1
|
||||||
contact-id: 42
|
contact-id: 42
|
||||||
author-id: 42
|
author-id: 42
|
||||||
owner-id: 45
|
owner-id: 45
|
||||||
uid: 42
|
uid: 42
|
||||||
verb: http://activitystrea.ms/schema/1.0/post
|
verb: http://activitystrea.ms/schema/1.0/post
|
||||||
unseen: true
|
unseen: 1
|
||||||
body: Parent status
|
body: Parent status
|
||||||
parent: 1
|
parent: 1
|
||||||
author-link: http://localhost/profile/selfcontact
|
author-link: http://localhost/profile/selfcontact
|
||||||
wall: true
|
wall: 1
|
||||||
starred: true
|
starred: 1
|
||||||
origin: true
|
origin: 1
|
||||||
allow_cid: ''
|
allow_cid: ''
|
||||||
allow_gid: ''
|
allow_gid: ''
|
||||||
deny_cid: ''
|
deny_cid: ''
|
||||||
deny_gid: ''
|
deny_gid: ''
|
||||||
-
|
-
|
||||||
id: 2
|
id: 2
|
||||||
visible: true
|
visible: 1
|
||||||
contact-id: 42
|
contact-id: 42
|
||||||
author-id: 42
|
author-id: 42
|
||||||
owner-id: 45
|
owner-id: 45
|
||||||
uid: 42
|
uid: 42
|
||||||
verb: http://activitystrea.ms/schema/1.0/post
|
verb: http://activitystrea.ms/schema/1.0/post
|
||||||
unseen: false
|
unseen: 0
|
||||||
body: Reply
|
body: Reply
|
||||||
parent: 1
|
parent: 1
|
||||||
author-link: http://localhost/profile/selfcontact
|
author-link: http://localhost/profile/selfcontact
|
||||||
wall: true
|
wall: 1
|
||||||
starred: false
|
starred: 0
|
||||||
origin: true
|
origin: 1
|
||||||
-
|
-
|
||||||
id: 3
|
id: 3
|
||||||
visible: true
|
visible: 1
|
||||||
contact-id: 43
|
contact-id: 43
|
||||||
author-id: 43
|
author-id: 43
|
||||||
owner-id: 42
|
owner-id: 42
|
||||||
uid: 42
|
uid: 42
|
||||||
verb: http://activitystrea.ms/schema/1.0/post
|
verb: http://activitystrea.ms/schema/1.0/post
|
||||||
unseen: false
|
unseen: 0
|
||||||
body: Other user status
|
body: Other user status
|
||||||
parent: 3
|
parent: 3
|
||||||
author-link: http://localhost/profile/othercontact
|
author-link: http://localhost/profile/othercontact
|
||||||
wall: true
|
wall: 1
|
||||||
starred: false
|
starred: 0
|
||||||
origin: true
|
origin: 1
|
||||||
-
|
-
|
||||||
id: 4
|
id: 4
|
||||||
visible: true
|
visible: 1
|
||||||
contact-id: 44
|
contact-id: 44
|
||||||
author-id: 44
|
author-id: 44
|
||||||
owner-id: 42
|
owner-id: 42
|
||||||
uid: 42
|
uid: 42
|
||||||
verb: http://activitystrea.ms/schema/1.0/post
|
verb: http://activitystrea.ms/schema/1.0/post
|
||||||
unseen: false
|
unseen: 0
|
||||||
body: Friend user reply
|
body: Friend user reply
|
||||||
parent: 1
|
parent: 1
|
||||||
author-link: http://localhost/profile/othercontact
|
author-link: http://localhost/profile/othercontact
|
||||||
wall: true
|
wall: 1
|
||||||
starred: false
|
starred: 0
|
||||||
origin: true
|
origin: 1
|
||||||
-
|
-
|
||||||
id: 5
|
id: 5
|
||||||
visible: true
|
visible: 1
|
||||||
contact-id: 42
|
contact-id: 42
|
||||||
author-id: 42
|
author-id: 42
|
||||||
owner-id: 42
|
owner-id: 42
|
||||||
uid: 42
|
uid: 42
|
||||||
verb: http://activitystrea.ms/schema/1.0/post
|
verb: http://activitystrea.ms/schema/1.0/post
|
||||||
unseen: false
|
unseen: 0
|
||||||
body: '[share]Shared status[/share]'
|
body: '[share]Shared status[/share]'
|
||||||
parent: 1
|
parent: 1
|
||||||
author-link: http://localhost/profile/othercontact
|
author-link: http://localhost/profile/othercontact
|
||||||
wall: true
|
wall: 1
|
||||||
starred: false
|
starred: 0
|
||||||
origin: true
|
origin: 1
|
||||||
allow_cid: ''
|
allow_cid: ''
|
||||||
allow_gid: ''
|
allow_gid: ''
|
||||||
deny_cid: ''
|
deny_cid: ''
|
||||||
deny_gid: ''
|
deny_gid: ''
|
||||||
-
|
-
|
||||||
id: 6
|
id: 6
|
||||||
visible: true
|
visible: 1
|
||||||
contact-id: 44
|
contact-id: 44
|
||||||
author-id: 44
|
author-id: 44
|
||||||
owner-id: 42
|
owner-id: 42
|
||||||
uid: 42
|
uid: 42
|
||||||
verb: http://activitystrea.ms/schema/1.0/post
|
verb: http://activitystrea.ms/schema/1.0/post
|
||||||
unseen: false
|
unseen: 0
|
||||||
body: Friend user status
|
body: Friend user status
|
||||||
parent: 6
|
parent: 6
|
||||||
author-link: http://localhost/profile/othercontact
|
author-link: http://localhost/profile/othercontact
|
||||||
wall: true
|
wall: 1
|
||||||
starred: false
|
starred: 0
|
||||||
origin: true
|
origin: 1
|
||||||
|
|
||||||
thread:
|
thread:
|
||||||
-
|
-
|
||||||
iid: 1
|
iid: 1
|
||||||
visible: true
|
visible: 1
|
||||||
contact-id: 42
|
contact-id: 42
|
||||||
author-id: 42
|
author-id: 42
|
||||||
owner-id: 42
|
owner-id: 42
|
||||||
uid: 42
|
uid: 42
|
||||||
wall: true
|
wall: 1
|
||||||
-
|
-
|
||||||
iid: 3
|
iid: 3
|
||||||
visible: true
|
visible: 1
|
||||||
contact-id: 43
|
contact-id: 43
|
||||||
author-id: 43
|
author-id: 43
|
||||||
owner-id: 43
|
owner-id: 43
|
||||||
uid: 0
|
uid: 0
|
||||||
wall: true
|
wall: 1
|
||||||
-
|
-
|
||||||
iid: 6
|
iid: 6
|
||||||
visible: true
|
visible: 1
|
||||||
contact-id: 44
|
contact-id: 44
|
||||||
author-id: 44
|
author-id: 44
|
||||||
owner-id: 44
|
owner-id: 44
|
||||||
uid: 0
|
uid: 0
|
||||||
wall: true
|
wall: 1
|
||||||
|
|
||||||
group:
|
group:
|
||||||
-
|
-
|
||||||
id: 1
|
id: 1
|
||||||
uid: 42
|
uid: 42
|
||||||
visible: true
|
visible: 1
|
||||||
name: Visible list
|
name: Visible list
|
||||||
-
|
-
|
||||||
id: 2
|
id: 2
|
||||||
uid: 42
|
uid: 42
|
||||||
visible: false
|
visible: 0
|
||||||
name: Private list
|
name: Private list
|
||||||
|
|
||||||
search:
|
search:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user