<?php
+/**
+ * @copyright Copyright (C) 2020, Friendica
+ *
+ * @license GNU AGPL version 3 or any later version
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ *
+ */
return [
// Empty these tables
'photo',
'workerqueue',
'mail',
- 'item-delivery-data',
+ 'post-delivery-data',
// Base test config to avoid notice messages
'config' => [
[
'network' => 'dfrn',
],
],
+ 'item-uri' => [
+ [
+ 'id' => 1,
+ 'uri' => '1',
+ 'guid' => '1',
+ ],
+ [
+ 'id' => 2,
+ 'uri' => '2',
+ 'guid' => '2',
+ ],
+ [
+ 'id' => 3,
+ 'uri' => '3',
+ 'guid' => '3',
+ ],
+ [
+ 'id' => 4,
+ 'uri' => '4',
+ 'guid' => '4',
+ ],
+ [
+ 'id' => 5,
+ 'uri' => '5',
+ 'guid' => '5',
+ ],
+ [
+ 'id' => 6,
+ 'uri' => '6',
+ 'guid' => '6',
+ ],
+ ],
'item' => [
[
'id' => 1,
+ 'uri-id' => 1,
'visible' => 1,
'contact-id' => 42,
'author-id' => 42,
],
[
'id' => 2,
+ 'uri-id' => 2,
'visible' => 1,
'contact-id' => 42,
'author-id' => 42,
[
'id' => 3,
+ 'uri-id' => 3,
'visible' => 1,
'contact-id' => 43,
'author-id' => 43,
],
[
'id' => 4,
+ 'uri-id' => 4,
'visible' => 1,
'contact-id' => 44,
'author-id' => 44,
[
'id' => 5,
+ 'uri-id' => 5,
'visible' => 1,
'contact-id' => 42,
'author-id' => 42,
],
[
'id' => 6,
+ 'uri-id' => 6,
'visible' => 1,
'contact-id' => 44,
'author-id' => 44,
'origin' => 1,
],
],
+ 'notify' => [
+ [
+ 'id' => 1,
+ 'type' => 8,
+ 'name' => 'Reply to',
+ 'url' => 'http://localhost/display/1',
+ 'photo' => 'http://localhost/',
+ 'date' => '2020-01-01 12:12:02',
+ 'msg' => 'A test reply from an item',
+ 'uid' => 42,
+ 'link' => 'http://localhost/notification/1',
+ 'iid' => 4,
+ 'seen' => 0,
+ 'verb' => '',
+ 'otype' => 'item',
+ 'name_cache' => 'Reply to',
+ 'msg_cache' => 'A test reply from an item',
+ ],
+ ],
'thread' => [
[
'iid' => 1,
+ 'uri-id' => 1,
'visible' => 1,
'contact-id' => 42,
'author-id' => 42,
],
[
'iid' => 3,
+ 'uri-id' => 3,
'visible' => 1,
'contact-id' => 43,
'author-id' => 43,
],
[
'iid' => 6,
+ 'uri-id' => 6,
'visible' => 1,
'contact-id' => 44,
'author-id' => 44,
'wall' => 1,
],
],
+ 'profile' => [
+ [
+ 'id' => 1,
+ 'uid' => 42,
+ ],
+ ],
'group' => [
[
'id' => 1,