Closed MrMage closed 3 years ago
/cc @mikkoaf
This was already reported in #30 and #32 and resolved 3 hours after last week's release in #31. Please bump your dependency to ^2.0
.
Thanks for the heads-up! I had only looked at the commit messages and didn't see a mention of this being fixed there.
Best to check for a newer version first. Or search issues. Commit messages rarely provide a 1:1 relationship with changes.
I had also checked the release notes of the new version, which don't mention this, either: https://github.com/jasonmccreary/laravel-test-assertions/releases/tag/v2.0.0
Next time I'll search the issues and/or just try the latest version even if it doesn't mention a particular issue, but I would still suggest editing the release notes of v2.0 to at least mention this.
Good call. I'll tweak the release notes.
https://github.com/laravel/framework/commit/cb72e7b03ce793fa2fbdfc191eea4c680215fe5d has added an implementation of
assertNotSoftDeleted
to Laravel'sInteractsWithDatabase
itself. This leads to the following error message when using both traits:To restore compatibility, I'd suggest to rename or remove the
assertNotSoftDeleted
method present in this package.