Skip to content

Commit

Permalink
Add testing dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
OrdinaryJellyfish authored and SychO9 committed Oct 22, 2024
1 parent a5982e4 commit 03ba9f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 2 additions & 0 deletions extensions/mentions/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@
"require-dev": {
"flarum/core": "*@dev",
"flarum/tags": "*@dev",
"flarum/approval": "*@dev",
"flarum/flags": "*@dev",
"flarum/testing": "^2.0"
},
"repositories": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,6 @@ protected function setUp(): void
['id' => 37, 'discussion_id' => 33, 'created_at' => Carbon::createFromDate(1975, 5, 21)->toDateTimeString(), 'user_id' => 1, 'type' => 'comment', 'content' => '<t><p>foo bar</p></t>', 'number' => 5],
['id' => 38, 'discussion_id' => 33, 'created_at' => Carbon::createFromDate(1975, 5, 21)->toDateTimeString(), 'user_id' => 1, 'type' => 'comment', 'content' => '<t><p>foo bar</p></t>', 'number' => 6],
],
'discussion_user' => [
['discussion_id' => 1, 'user_id' => 1, 'last_read_post_number' => 1, 'subscription' => 'follow'],
['discussion_id' => 1, 'user_id' => 2, 'last_read_post_number' => 1, 'subscription' => 'follow'],
['discussion_id' => 2, 'user_id' => 1, 'last_read_post_number' => 1, 'subscription' => 'follow'],

['discussion_id' => 33, 'user_id' => 2, 'last_read_post_number' => 1, 'subscription' => 'follow'],
['discussion_id' => 33, 'user_id' => 3, 'last_read_post_number' => 1, 'subscription' => 'follow'],
]
]);
}

Expand Down

0 comments on commit 03ba9f8

Please sign in to comment.