Skip to content

fix: remove blade-capture-directive from test providers [2.x]#116

Merged
ManukMinasyan merged 1 commit into2.xfrom
fix/remove-blade-capture-directive-2x
Mar 18, 2026
Merged

fix: remove blade-capture-directive from test providers [2.x]#116
ManukMinasyan merged 1 commit into2.xfrom
fix/remove-blade-capture-directive-2x

Conversation

@ManukMinasyan
Copy link
Collaborator

Summary

Remove BladeCaptureDirectiveServiceProvider from tests/TestCase.php.

Root Cause

Filament dropped ryangjchandler/blade-capture-directive as a dependency. The CI workflow runs composer update --prefer-stable which resolves to a Filament version without this package. Since TestCase.php explicitly registers the provider, all tests fail with Class not found.

Filament dropped ryangjchandler/blade-capture-directive as a
dependency. Remove the explicit service provider registration from
TestCase since the package is no longer installed.
Copilot AI review requested due to automatic review settings March 18, 2026 09:06
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR simplifies the test harness by removing the unused BladeCaptureDirective service provider from the package test setup, reducing unnecessary dependencies during test bootstrapping.

Changes:

  • Removed the BladeCaptureDirectiveServiceProvider import from tests/TestCase.php.
  • Removed BladeCaptureDirectiveServiceProvider::class from the registered package providers list in tests/TestCase.php.

@ManukMinasyan ManukMinasyan merged commit b1a3955 into 2.x Mar 18, 2026
7 checks passed
@ManukMinasyan ManukMinasyan deleted the fix/remove-blade-capture-directive-2x branch March 18, 2026 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants