Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nova tests fail due to change to inertia. #480

Closed
mikebronner opened this issue Feb 26, 2025 · 0 comments
Closed

Nova tests fail due to change to inertia. #480

mikebronner opened this issue Feb 26, 2025 · 0 comments

Comments

@mikebronner
Copy link
Owner

mikebronner commented Feb 26, 2025

Describe the bug
Several tests are failing due to Nova 5 changes:

BadMethodCallException: Method Illuminate\Http\Request::inertia does not exist.

Need to go through the failing tests to see what the fix is. This may no longer be testable in the same way, if there is no longer a Nova JSON API. Any help with this would be greatly appreciated!

The following tests are affected:

  • GeneaLabs\LaravelModelCaching\Tests\Feature\Nova\BelongsToManyTest::testAttachRelationFlushesCache
  • GeneaLabs\LaravelModelCaching\Tests\Feature\Nova\BelongsToManyTest::testDetachRelationFlushesCache
  • GeneaLabs\LaravelModelCaching\Tests\Feature\Nova\BelongsToManyTest::testUpdateRelationFlushesCache
  • GeneaLabs\LaravelModelCaching\Tests\Feature\Nova\BelongsToManyTest::testDeleteRelationFlushesCache
  • GeneaLabs\LaravelModelCaching\Tests\Feature\Nova\CreateTest::testCreateFlushesCacheForModel
  • GeneaLabs\LaravelModelCaching\Tests\Feature\Nova\DeleteTest::testDeleteFlushesCacheForModel
  • GeneaLabs\LaravelModelCaching\Tests\Feature\Nova\UpdateTest::testUpdateFlushesCacheForModel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant