owen-it / laravel-auditing-doc

Laravel Auditing Documentation
http://laravel-auditing.com
56 stars 62 forks source link

Adds information on using the AuditableObserver #67

Closed camilopayan closed 5 years ago

camilopayan commented 5 years ago

This commit adds some missing information on adding the AuditableObserver to your application to make auditing work. Without telling the app about the AuditableObserver the Eloquent events will come and go without any audits being created.

quetzyg commented 5 years ago

This pull request is invalid, since there's no need to do that.

camilopayan commented 5 years ago

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.

quetzyg commented 5 years ago

Mate, have you at least read the troubleshooting in the first place? Because it's right there in the Console/CLI and Jobs section.