From 39ed26df13831b7129e5c5c9f9f782a27d91f81a Mon Sep 17 00:00:00 2001 From: Davide Iadeluca Date: Fri, 24 Jan 2025 07:18:25 +0100 Subject: [PATCH] test: finally resolve setup issues --- tests/integration/ExtensionDepsTrait.php | 1 - tests/integration/notifications/NotificationsTest.php | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/integration/ExtensionDepsTrait.php b/tests/integration/ExtensionDepsTrait.php index e7e4320..d05d39f 100644 --- a/tests/integration/ExtensionDepsTrait.php +++ b/tests/integration/ExtensionDepsTrait.php @@ -16,7 +16,6 @@ trait ExtensionDepsTrait public function extensionDeps(): void { $this->extension('flarum-tags'); - $this->extension('fof-extend'); $this->extension('fof-follow-tags'); } } diff --git a/tests/integration/notifications/NotificationsTest.php b/tests/integration/notifications/NotificationsTest.php index 15fa1f6..d6a904a 100644 --- a/tests/integration/notifications/NotificationsTest.php +++ b/tests/integration/notifications/NotificationsTest.php @@ -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; @@ -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' => '

Following

', 'is_private' => 0, 'is_approved' => 1, 'number' => 1], - ['id' => 2, 'discussion_id' => 2, 'user_id' => 2, 'type' => 'comment', 'content' => '

Lurking

', 'is_private' => 0, 'is_approved' => 1, 'number' => 1], + ['id' => 1, 'discussion_id' => 1, 'user_id' => 2, 'type' => 'comment', 'content' => '

Following

', 'is_private' => 0, 'number' => 1], + ['id' => 2, 'discussion_id' => 2, 'user_id' => 2, 'type' => 'comment', 'content' => '

Lurking

', 'is_private' => 0, 'number' => 1], ], ]); }