johntheteam

Results 3 comments of johntheteam

I can see this issue with Laravel 11. And it doesn't work on 1.6.7 either. When mock any laravel 11's model, like below, it failed. ``` $class = 'App\Models\User'; $mock...

@ghostwriter Thank you for the effort. I tried to use try/catch to make laravel 11 not throw the exception, my test case passed. ``` //from src/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/HasEvents.php public static function observe($classes)...

> It is there for a reason. What's the reason? If the reason is known, it should be specified and handled in a way that allow to change by the...