topclaudy / compoships

Multi-columns relationships for Laravel's Eloquent ORM
MIT License
1.12k stars 132 forks source link

enforce UTC timezone for tests due to behavior changes in Laravel 7 #106

Closed yurii-github closed 4 years ago

yurii-github commented 4 years ago

Some recent changes to Laravel 7 broke behavior to datetime casting. As we don't care about it and just want to check if field was set I enforce UTC timezone, so tests can pass