3 * @copyright Copyright (C) 2020, Friendica
5 * @license GNU AGPL version 3 or any later version
7 * This program is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU Affero General Public License as
9 * published by the Free Software Foundation, either version 3 of the
10 * License, or (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU Affero General Public License for more details.
17 * You should have received a copy of the GNU Affero General Public License
18 * along with this program. If not, see <https://www.gnu.org/licenses/>.
31 // Base test config to avoid notice messages
36 'v' => 'http://localhost',
45 'k' => 'worker_dont_fork',
52 'username' => 'Test user',
53 'nickname' => 'selfcontact',
55 'password' => '$2y$10$DLRNTRmJgKe1cSrFJ5Jb0edCqvXlA9sh/RHdSnfxjbR.04yZRm4Qm',
63 'name' => 'Self contact',
64 'nick' => 'selfcontact',
66 'nurl' => 'http://localhost/profile/selfcontact',
67 'url' => 'http://localhost/profile/selfcontact',
68 'about' => 'User used in tests',
74 // Having the same name and nick allows us to test
75 // the fallback to api_get_nick() in api_get_user()
79 'name' => 'othercontact',
80 'nick' => 'othercontact',
82 'nurl' => 'http://localhost/profile/othercontact',
83 'url' => 'http://localhost/profile/othercontact',
92 'name' => 'Friend contact',
93 'nick' => 'friendcontact',
95 'nurl' => 'http://localhost/profile/friendcontact',
96 'url' => 'http://localhost/profile/friendcontact',
112 'verb' => 'http://activitystrea.ms/schema/1.0/post',
114 'body' => 'Parent status',
116 'author-link' => 'http://localhost/profile/selfcontact',
133 'verb' => 'http://activitystrea.ms/schema/1.0/post',
137 'author-link' => 'http://localhost/profile/selfcontact',
151 'verb' => 'http://activitystrea.ms/schema/1.0/post',
153 'body' => 'Other user status',
155 'author-link' => 'http://localhost/profile/othercontact',
168 'verb' => 'http://activitystrea.ms/schema/1.0/post',
170 'body' => 'Friend user reply',
172 'author-link' => 'http://localhost/profile/othercontact',
186 'verb' => 'http://activitystrea.ms/schema/1.0/post',
188 'body' => '[share]Shared status[/share]',
190 'author-link' => 'http://localhost/profile/othercontact',
207 'verb' => 'http://activitystrea.ms/schema/1.0/post',
209 'body' => 'Friend user status',
211 'author-link' => 'http://localhost/profile/othercontact',
221 'name' => 'Reply to',
222 'url' => 'http://localhost/display/1',
223 'photo' => 'http://localhost/',
224 'date' => '2020-01-01 12:12:02',
225 'msg' => 'A test reply from an item',
227 'link' => 'http://localhost/notification/1',
232 'name_cache' => 'Reply to',
233 'msg_cache' => 'A test reply from an item',
276 'name' => 'Visible list',
282 'name' => 'Private list',
288 'term' => 'Saved search',