mirror of
https://github.com/friendica/friendica
synced 2024-11-09 23:42:53 +00:00
Test data for the "verb" table
This commit is contained in:
parent
751232d679
commit
2f84d874a8
1 changed files with 56 additions and 19 deletions
|
@ -23,7 +23,6 @@ use Friendica\Core\Protocol;
|
||||||
use Friendica\Model\Contact;
|
use Friendica\Model\Contact;
|
||||||
use Friendica\Model\Item;
|
use Friendica\Model\Item;
|
||||||
use Friendica\Model\Notification;
|
use Friendica\Model\Notification;
|
||||||
use Friendica\Model\Verb;
|
|
||||||
|
|
||||||
return [
|
return [
|
||||||
// Empty these tables
|
// Empty these tables
|
||||||
|
@ -183,6 +182,44 @@ return [
|
||||||
'guid' => '6',
|
'guid' => '6',
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
'verb' => [
|
||||||
|
[
|
||||||
|
'id' => 0,
|
||||||
|
'name' => '',
|
||||||
|
],
|
||||||
|
[
|
||||||
|
'id' => 1,
|
||||||
|
'name' => 'http://activitystrea.ms/schema/1.0/like',
|
||||||
|
],
|
||||||
|
[
|
||||||
|
'id' => 2,
|
||||||
|
'name' => 'http://purl.org/macgirvin/dfrn/1.0/dislike',
|
||||||
|
],
|
||||||
|
[
|
||||||
|
'id' => 3,
|
||||||
|
'name' => 'http://purl.org/zot/activity/attendyes',
|
||||||
|
],
|
||||||
|
[
|
||||||
|
'id' => 4,
|
||||||
|
'name' => 'http://purl.org/zot/activity/attendno',
|
||||||
|
],
|
||||||
|
[
|
||||||
|
'id' => 5,
|
||||||
|
'name' => 'http://purl.org/zot/activity/attendmaybe',
|
||||||
|
],
|
||||||
|
[
|
||||||
|
'id' => 6,
|
||||||
|
'name' => 'http://activitystrea.ms/schema/1.0/follow',
|
||||||
|
],
|
||||||
|
[
|
||||||
|
'id' => 7,
|
||||||
|
'name' => 'https://www.w3.org/ns/activitystreams#Announce',
|
||||||
|
],
|
||||||
|
[
|
||||||
|
'id' => 8,
|
||||||
|
'name' => 'http://activitystrea.ms/schema/1.0/post',
|
||||||
|
],
|
||||||
|
],
|
||||||
'post-content' => [
|
'post-content' => [
|
||||||
[
|
[
|
||||||
'uri-id' => 1,
|
'uri-id' => 1,
|
||||||
|
@ -225,7 +262,7 @@ return [
|
||||||
'owner-id' => 42,
|
'owner-id' => 42,
|
||||||
'author-id' => 42,
|
'author-id' => 42,
|
||||||
'causer-id' => 42,
|
'causer-id' => 42,
|
||||||
'vid' => Verb::getID('http://activitystrea.ms/schema/1.0/post'),
|
'vid' => 8,
|
||||||
'private' => Item::PUBLIC,
|
'private' => Item::PUBLIC,
|
||||||
'visible' => 1,
|
'visible' => 1,
|
||||||
],
|
],
|
||||||
|
@ -238,7 +275,7 @@ return [
|
||||||
'owner-id' => 42,
|
'owner-id' => 42,
|
||||||
'author-id' => 42,
|
'author-id' => 42,
|
||||||
'causer-id' => 42,
|
'causer-id' => 42,
|
||||||
'vid' => Verb::getID('http://activitystrea.ms/schema/1.0/post'),
|
'vid' => 8,
|
||||||
'private' => Item::PUBLIC,
|
'private' => Item::PUBLIC,
|
||||||
'visible' => 1,
|
'visible' => 1,
|
||||||
],
|
],
|
||||||
|
@ -251,7 +288,7 @@ return [
|
||||||
'owner-id' => 42,
|
'owner-id' => 42,
|
||||||
'author-id' => 43,
|
'author-id' => 43,
|
||||||
'causer-id' => 43,
|
'causer-id' => 43,
|
||||||
'vid' => Verb::getID('http://activitystrea.ms/schema/1.0/post'),
|
'vid' => 8,
|
||||||
'private' => Item::PUBLIC,
|
'private' => Item::PUBLIC,
|
||||||
'visible' => 1,
|
'visible' => 1,
|
||||||
],
|
],
|
||||||
|
@ -264,7 +301,7 @@ return [
|
||||||
'owner-id' => 42,
|
'owner-id' => 42,
|
||||||
'author-id' => 44,
|
'author-id' => 44,
|
||||||
'causer-id' => 44,
|
'causer-id' => 44,
|
||||||
'vid' => Verb::getID('http://activitystrea.ms/schema/1.0/post'),
|
'vid' => 8,
|
||||||
'private' => Item::PUBLIC,
|
'private' => Item::PUBLIC,
|
||||||
'visible' => 1,
|
'visible' => 1,
|
||||||
],
|
],
|
||||||
|
@ -277,7 +314,7 @@ return [
|
||||||
'owner-id' => 42,
|
'owner-id' => 42,
|
||||||
'author-id' => 42,
|
'author-id' => 42,
|
||||||
'causer-id' => 42,
|
'causer-id' => 42,
|
||||||
'vid' => Verb::getID('http://activitystrea.ms/schema/1.0/post'),
|
'vid' => 8,
|
||||||
'private' => Item::PUBLIC,
|
'private' => Item::PUBLIC,
|
||||||
'visible' => 1,
|
'visible' => 1,
|
||||||
],
|
],
|
||||||
|
@ -290,7 +327,7 @@ return [
|
||||||
'owner-id' => 42,
|
'owner-id' => 42,
|
||||||
'author-id' => 44,
|
'author-id' => 44,
|
||||||
'causer-id' => 44,
|
'causer-id' => 44,
|
||||||
'vid' => Verb::getID('http://activitystrea.ms/schema/1.0/post'),
|
'vid' => 8,
|
||||||
'private' => Item::PUBLIC,
|
'private' => Item::PUBLIC,
|
||||||
'visible' => 1,
|
'visible' => 1,
|
||||||
],
|
],
|
||||||
|
@ -310,7 +347,7 @@ return [
|
||||||
'owner-id' => 42,
|
'owner-id' => 42,
|
||||||
'author-id' => 42,
|
'author-id' => 42,
|
||||||
'causer-id' => 42,
|
'causer-id' => 42,
|
||||||
'vid' => Verb::getID('http://activitystrea.ms/schema/1.0/post'),
|
'vid' => 8,
|
||||||
'private' => Item::PUBLIC,
|
'private' => Item::PUBLIC,
|
||||||
'visible' => 1,
|
'visible' => 1,
|
||||||
],
|
],
|
||||||
|
@ -328,7 +365,7 @@ return [
|
||||||
'owner-id' => 42,
|
'owner-id' => 42,
|
||||||
'author-id' => 42,
|
'author-id' => 42,
|
||||||
'causer-id' => 42,
|
'causer-id' => 42,
|
||||||
'vid' => Verb::getID('http://activitystrea.ms/schema/1.0/post'),
|
'vid' => 8,
|
||||||
'private' => Item::PUBLIC,
|
'private' => Item::PUBLIC,
|
||||||
'visible' => 1,
|
'visible' => 1,
|
||||||
],
|
],
|
||||||
|
@ -346,7 +383,7 @@ return [
|
||||||
'owner-id' => 42,
|
'owner-id' => 42,
|
||||||
'author-id' => 43,
|
'author-id' => 43,
|
||||||
'causer-id' => 43,
|
'causer-id' => 43,
|
||||||
'vid' => Verb::getID('http://activitystrea.ms/schema/1.0/post'),
|
'vid' => 8,
|
||||||
'private' => Item::PUBLIC,
|
'private' => Item::PUBLIC,
|
||||||
'visible' => 1,
|
'visible' => 1,
|
||||||
],
|
],
|
||||||
|
@ -364,7 +401,7 @@ return [
|
||||||
'owner-id' => 42,
|
'owner-id' => 42,
|
||||||
'author-id' => 44,
|
'author-id' => 44,
|
||||||
'causer-id' => 44,
|
'causer-id' => 44,
|
||||||
'vid' => Verb::getID('http://activitystrea.ms/schema/1.0/post'),
|
'vid' => 8,
|
||||||
'private' => Item::PUBLIC,
|
'private' => Item::PUBLIC,
|
||||||
'visible' => 1,
|
'visible' => 1,
|
||||||
],
|
],
|
||||||
|
@ -382,7 +419,7 @@ return [
|
||||||
'owner-id' => 42,
|
'owner-id' => 42,
|
||||||
'author-id' => 42,
|
'author-id' => 42,
|
||||||
'causer-id' => 42,
|
'causer-id' => 42,
|
||||||
'vid' => Verb::getID('http://activitystrea.ms/schema/1.0/post'),
|
'vid' => 8,
|
||||||
'private' => Item::PUBLIC,
|
'private' => Item::PUBLIC,
|
||||||
'visible' => 1,
|
'visible' => 1,
|
||||||
],
|
],
|
||||||
|
@ -400,7 +437,7 @@ return [
|
||||||
'owner-id' => 42,
|
'owner-id' => 42,
|
||||||
'author-id' => 44,
|
'author-id' => 44,
|
||||||
'causer-id' => 44,
|
'causer-id' => 44,
|
||||||
'vid' => Verb::getID('http://activitystrea.ms/schema/1.0/post'),
|
'vid' => 8,
|
||||||
'private' => Item::PUBLIC,
|
'private' => Item::PUBLIC,
|
||||||
'visible' => 1,
|
'visible' => 1,
|
||||||
],
|
],
|
||||||
|
@ -418,7 +455,7 @@ return [
|
||||||
'owner-id' => 42,
|
'owner-id' => 42,
|
||||||
'author-id' => 42,
|
'author-id' => 42,
|
||||||
'causer-id' => 42,
|
'causer-id' => 42,
|
||||||
'vid' => Verb::getID('http://activitystrea.ms/schema/1.0/post'),
|
'vid' => 8,
|
||||||
'private' => Item::PUBLIC,
|
'private' => Item::PUBLIC,
|
||||||
'visible' => 1,
|
'visible' => 1,
|
||||||
],
|
],
|
||||||
|
@ -436,7 +473,7 @@ return [
|
||||||
'owner-id' => 42,
|
'owner-id' => 42,
|
||||||
'author-id' => 42,
|
'author-id' => 42,
|
||||||
'causer-id' => 42,
|
'causer-id' => 42,
|
||||||
'vid' => Verb::getID('http://activitystrea.ms/schema/1.0/post'),
|
'vid' => 8,
|
||||||
'private' => Item::PUBLIC,
|
'private' => Item::PUBLIC,
|
||||||
'visible' => 1,
|
'visible' => 1,
|
||||||
],
|
],
|
||||||
|
@ -454,7 +491,7 @@ return [
|
||||||
'owner-id' => 42,
|
'owner-id' => 42,
|
||||||
'author-id' => 43,
|
'author-id' => 43,
|
||||||
'causer-id' => 43,
|
'causer-id' => 43,
|
||||||
'vid' => Verb::getID('http://activitystrea.ms/schema/1.0/post'),
|
'vid' => 8,
|
||||||
'private' => Item::PUBLIC,
|
'private' => Item::PUBLIC,
|
||||||
'visible' => 1,
|
'visible' => 1,
|
||||||
],
|
],
|
||||||
|
@ -472,7 +509,7 @@ return [
|
||||||
'owner-id' => 42,
|
'owner-id' => 42,
|
||||||
'author-id' => 44,
|
'author-id' => 44,
|
||||||
'causer-id' => 44,
|
'causer-id' => 44,
|
||||||
'vid' => Verb::getID('http://activitystrea.ms/schema/1.0/post'),
|
'vid' => 8,
|
||||||
'private' => Item::PUBLIC,
|
'private' => Item::PUBLIC,
|
||||||
'visible' => 1,
|
'visible' => 1,
|
||||||
],
|
],
|
||||||
|
@ -490,7 +527,7 @@ return [
|
||||||
'owner-id' => 42,
|
'owner-id' => 42,
|
||||||
'author-id' => 42,
|
'author-id' => 42,
|
||||||
'causer-id' => 42,
|
'causer-id' => 42,
|
||||||
'vid' => Verb::getID('http://activitystrea.ms/schema/1.0/post'),
|
'vid' => 8,
|
||||||
'private' => Item::PUBLIC,
|
'private' => Item::PUBLIC,
|
||||||
'visible' => 1,
|
'visible' => 1,
|
||||||
],
|
],
|
||||||
|
@ -508,7 +545,7 @@ return [
|
||||||
'owner-id' => 42,
|
'owner-id' => 42,
|
||||||
'author-id' => 44,
|
'author-id' => 44,
|
||||||
'causer-id' => 44,
|
'causer-id' => 44,
|
||||||
'vid' => Verb::getID('http://activitystrea.ms/schema/1.0/post'),
|
'vid' => 8,
|
||||||
'private' => Item::PUBLIC,
|
'private' => Item::PUBLIC,
|
||||||
'visible' => 1,
|
'visible' => 1,
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue