Skip to content

fix: remove blade-capture-directive from test providers [3.x]#115

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

fix: remove blade-capture-directive from test providers [3.x]#115
ManukMinasyan merged 1 commit into3.xfrom
fix/remove-blade-capture-directive-3x

Conversation

@ManukMinasyan
Copy link
Collaborator

Summary

Remove BladeCaptureDirectiveServiceProvider from tests/TestCase.php.

Root Cause

Filament v5.4.0 dropped ryangjchandler/blade-capture-directive as a dependency. The CI workflow runs composer update --prefer-stable which resolved Filament to v5.4.0, causing the package to be removed. Since TestCase.php explicitly registers the provider, all 459 tests fail with Class not found.

Result

  • Before: 459 tests failed (0 assertions)
  • After: 449 passed, 7 failed (unrelated Filament v5.4.0 $logo Blade variable issue)

Filament v5.4.0 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

Removes an unused Blade Capture Directive service provider from the testbench setup, simplifying the test environment and avoiding unnecessary provider bootstrapping.

Changes:

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

@ManukMinasyan ManukMinasyan merged commit 19fe0d6 into 3.x Mar 18, 2026
7 checks passed
@ManukMinasyan ManukMinasyan deleted the fix/remove-blade-capture-directive-3x 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