Closed camilopayan closed 5 years ago
This pull request is invalid, since there's no need to do that.
Figured out the issue I was having: phpunit
counts as console running, so if you aren't trying to track console audits, and the config for console is set to false
then any tests for audits will fail.
Might be worth adding to the troubleshooting section.
Mate, have you at least read the troubleshooting in the first place? Because it's right there in the Console/CLI and Jobs
section.
This commit adds some missing information on adding the
AuditableObserver
to your application to make auditing work. Without telling the app about theAuditableObserver
the Eloquent events will come and go without any audits being created.