Skip to content

Model::shouldBeStrict not working in tests #55754

@miteyema

Description

@miteyema

Laravel Version

12.41.1

PHP Version

8.4.6

Database Driver & Version

No response

Description

  • Model::shouldBeStrict() has been configured
  • tests fail because MissingAttributeException is not thrown but

Steps To Reproduce

Please see https://github.com/miteyema/laravel-bug-report-should-be-strict and run php artisan test

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions