Skip to content

Commit

Permalink
test: finally resolve setup issues
Browse files Browse the repository at this point in the history
  • Loading branch information
DavideIadeluca committed Jan 24, 2025
1 parent f77dc95 commit 39ed26d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion tests/integration/ExtensionDepsTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ trait ExtensionDepsTrait
public function extensionDeps(): void
{
$this->extension('flarum-tags');
$this->extension('fof-extend');
$this->extension('fof-follow-tags');
}
}
6 changes: 3 additions & 3 deletions tests/integration/notifications/NotificationsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/

namespace FoF\FollowTags\tests\integration\notifications;
namespace FoF\FollowTags\Tests\integration\notifications;

use Carbon\Carbon;
use Flarum\Testing\integration\RetrievesAuthorizedUsers;
Expand Down Expand Up @@ -47,8 +47,8 @@ public function setUp(): void
['id' => 2, 'title' => 'The quick brown fox jumps over the lazy dog', 'created_at' => Carbon::now()->toDateTimeString(), 'user_id' => 2, 'participant_count' => 1],
],
'posts' => [
['id' => 1, 'discussion_id' => 1, 'user_id' => 2, 'type' => 'comment', 'content' => '<t><p>Following</p></t>', 'is_private' => 0, 'is_approved' => 1, 'number' => 1],
['id' => 2, 'discussion_id' => 2, 'user_id' => 2, 'type' => 'comment', 'content' => '<t><p>Lurking</p></t>', 'is_private' => 0, 'is_approved' => 1, 'number' => 1],
['id' => 1, 'discussion_id' => 1, 'user_id' => 2, 'type' => 'comment', 'content' => '<t><p>Following</p></t>', 'is_private' => 0, 'number' => 1],
['id' => 2, 'discussion_id' => 2, 'user_id' => 2, 'type' => 'comment', 'content' => '<t><p>Lurking</p></t>', 'is_private' => 0, 'number' => 1],
],
]);
}
Expand Down

0 comments on commit 39ed26d

Please sign in to comment.