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',
105 'name' => 'Friend contact',
106 'nick' => 'friendcontact',
108 'nurl' => 'http://localhost/profile/friendcontact',
109 'url' => 'http://localhost/profile/friendcontact',
118 'name' => 'Mutual contact',
119 'nick' => 'mutualcontact',
121 'nurl' => 'http://localhost/profile/mutualcontact',
122 'url' => 'http://localhost/profile/mutualcontact',
131 'name' => 'Mutual contact',
132 'nick' => 'mutualcontact',
134 'nurl' => 'http://localhost/profile/mutualcontact',
135 'url' => 'http://localhost/profile/mutualcontact',
183 'verb' => 'http://activitystrea.ms/schema/1.0/post',
185 'body' => 'Parent status',
187 'author-link' => 'http://localhost/profile/selfcontact',
204 'verb' => 'http://activitystrea.ms/schema/1.0/post',
208 'author-link' => 'http://localhost/profile/selfcontact',
222 'verb' => 'http://activitystrea.ms/schema/1.0/post',
224 'body' => 'Other user status',
226 'author-link' => 'http://localhost/profile/othercontact',
239 'verb' => 'http://activitystrea.ms/schema/1.0/post',
241 'body' => 'Friend user reply',
243 'author-link' => 'http://localhost/profile/othercontact',
257 'verb' => 'http://activitystrea.ms/schema/1.0/post',
259 'body' => '[share]Shared status[/share]',
261 'author-link' => 'http://localhost/profile/othercontact',
278 'verb' => 'http://activitystrea.ms/schema/1.0/post',
280 'body' => 'Friend user status',
282 'author-link' => 'http://localhost/profile/othercontact',
292 'name' => 'Reply to',
293 'url' => 'http://localhost/display/1',
294 'photo' => 'http://localhost/',
295 'date' => '2020-01-01 12:12:02',
296 'msg' => 'A test reply from an item',
298 'link' => 'http://localhost/notification/1',
303 'name_cache' => 'Reply to',
304 'msg_cache' => 'A test reply from an item',
350 'name' => 'Visible list',
356 'name' => 'Private list',
362 'term' => 'Saved search',