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',
67 'name' => 'Self contact',
68 'nick' => 'selfcontact',
70 'nurl' => 'http://localhost/profile/selfcontact',
71 'url' => 'http://localhost/profile/selfcontact',
72 'about' => 'User used in tests',
78 // Having the same name and nick allows us to test
79 // the fallback to api_get_nick() in api_get_user()
83 'name' => 'othercontact',
84 'nick' => 'othercontact',
86 'nurl' => 'http://localhost/profile/othercontact',
87 'url' => 'http://localhost/profile/othercontact',
96 'name' => 'Friend contact',
97 'nick' => 'friendcontact',
99 'nurl' => 'http://localhost/profile/friendcontact',
100 'url' => 'http://localhost/profile/friendcontact',
153 'verb' => 'http://activitystrea.ms/schema/1.0/post',
155 'body' => 'Parent status',
157 'author-link' => 'http://localhost/profile/selfcontact',
174 'verb' => 'http://activitystrea.ms/schema/1.0/post',
178 'author-link' => 'http://localhost/profile/selfcontact',
192 'verb' => 'http://activitystrea.ms/schema/1.0/post',
194 'body' => 'Other user status',
196 'author-link' => 'http://localhost/profile/othercontact',
209 'verb' => 'http://activitystrea.ms/schema/1.0/post',
211 'body' => 'Friend user reply',
213 'author-link' => 'http://localhost/profile/othercontact',
227 'verb' => 'http://activitystrea.ms/schema/1.0/post',
229 'body' => '[share]Shared status[/share]',
231 'author-link' => 'http://localhost/profile/othercontact',
248 'verb' => 'http://activitystrea.ms/schema/1.0/post',
250 'body' => 'Friend user status',
252 'author-link' => 'http://localhost/profile/othercontact',
262 'name' => 'Reply to',
263 'url' => 'http://localhost/display/1',
264 'photo' => 'http://localhost/',
265 'date' => '2020-01-01 12:12:02',
266 'msg' => 'A test reply from an item',
268 'link' => 'http://localhost/notification/1',
273 'name_cache' => 'Reply to',
274 'msg_cache' => 'A test reply from an item',
317 'name' => 'Visible list',
323 'name' => 'Private list',
329 'term' => 'Saved search',