3 * @copyright Copyright (C) 2010-2021, the Friendica project
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/>.
22 use Friendica\Core\Protocol;
23 use Friendica\Model\Contact;
29 'username' => 'Test user',
30 'nickname' => 'selfcontact',
32 'password' => '$2y$10$DLRNTRmJgKe1cSrFJ5Jb0edCqvXlA9sh/RHdSnfxjbR.04yZRm4Qm',
40 'name' => 'Self contact',
41 'nick' => 'selfcontact',
43 'nurl' => 'http://localhost/profile/selfcontact',
44 'url' => 'http://localhost/profile/selfcontact',
45 'about' => 'User used in tests',
48 'rel' => Contact::FOLLOWER,
49 'network' => Protocol::DFRN,
54 // move from data-attribute to storage backend
59 'backend-class' => null,
60 'backend-ref' => 'f0c0d0i2',
61 'data' => 'without class',
63 // move from storage-backend to maybe filesystem backend, skip at database backend
68 'backend-class' => 'Database',
72 // move data if invalid storage
77 'backend-class' => 'invalid!',
78 'backend-ref' => 'unimported',
79 'data' => 'invalid data moved',
81 // @todo Check failing test because of this (never loaded) fixture
85 // 'contact-id' => 42,
86 // 'backend-class' => 'invalid!',
87 // 'backend-ref' => 'unimported',
94 'data' => 'inside database',