Closed
Description
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