-
Notifications
You must be signed in to change notification settings - Fork 839
Closed
Description
- Jetstream Version: 2.12.3
- Jetstream Stack: Inertia
- Uses Teams: yes
- Laravel Version: 9.35.1
- PHP Version: 8.1.10
- Database Driver & Version: MySQL 8
Description:
With Laravels new Model::shouldBeStrict(); mode, it seems it has caused the default tests to fail with the following error:
The attribute [current_team_id] either does not exist or was not retrieved for model [App\Models\User].
This issue only applies when it's enabled, and I have a feeling this may be a bug with the new strict mode in general.
Steps To Reproduce:
- Create a fresh Jetstream application.
- Add
Model::shouldBeStrict();to theAppServiceProvider. - Run
php artisan test
Metadata
Metadata
Assignees
Labels
No labels