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',
111 'verb' => 'http://activitystrea.ms/schema/1.0/post',
113 'body' => 'Parent status',
115 'author-link' => 'http://localhost/profile/selfcontact',
131 'verb' => 'http://activitystrea.ms/schema/1.0/post',
135 'author-link' => 'http://localhost/profile/selfcontact',
148 'verb' => 'http://activitystrea.ms/schema/1.0/post',
150 'body' => 'Other user status',
152 'author-link' => 'http://localhost/profile/othercontact',
164 'verb' => 'http://activitystrea.ms/schema/1.0/post',
166 'body' => 'Friend user reply',
168 'author-link' => 'http://localhost/profile/othercontact',
181 'verb' => 'http://activitystrea.ms/schema/1.0/post',
183 'body' => '[share]Shared status[/share]',
185 'author-link' => 'http://localhost/profile/othercontact',
201 'verb' => 'http://activitystrea.ms/schema/1.0/post',
203 'body' => 'Friend user status',
205 'author-link' => 'http://localhost/profile/othercontact',
215 'name' => 'Reply to',
216 'url' => 'http://localhost/display/1',
217 'photo' => 'http://localhost/',
218 'date' => '2020-01-01 12:12:02',
219 'msg' => 'A test reply from an item',
221 'link' => 'http://localhost/notification/1',
226 'name_cache' => 'Reply to',
227 'msg_cache' => 'A test reply from an item',
270 'name' => 'Visible list',
276 'name' => 'Private list',
282 'term' => 'Saved search',