From 7f9f13b626494c49cb5c7d30eef669c47ac8be08 Mon Sep 17 00:00:00 2001 From: manukminasyan Date: Fri, 27 Mar 2026 18:46:40 +0400 Subject: [PATCH] fix: add missing Filament service providers to test setup InteractsWithForms requires FormsServiceProvider, SchemasServiceProvider, and ActionsServiceProvider to be registered in the test environment. --- tests/TestCase.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/TestCase.php b/tests/TestCase.php index f1ef672..a35745a 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -2,7 +2,10 @@ namespace Relaticle\Comments\Tests; +use Filament\Actions\ActionsServiceProvider; use Filament\FilamentServiceProvider; +use Filament\Forms\FormsServiceProvider; +use Filament\Schemas\SchemasServiceProvider; use Filament\Support\SupportServiceProvider; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; @@ -27,6 +30,9 @@ abstract class TestCase extends Orchestra return [ LivewireServiceProvider::class, SupportServiceProvider::class, + SchemasServiceProvider::class, + FormsServiceProvider::class, + ActionsServiceProvider::class, FilamentServiceProvider::class, CommentsServiceProvider::class, ];