Replies: 1 comment
-
did you end up resolving this? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi All,
I'm currently writing some tests for activity logging, for model deletions I'm utilising
getActivitylogOptions()
. The logging itself functions fine when working locally, though when writing tests, model deletion does not seem to log anything though create/update tests are passing fine. Here's an example:Dumping out the DB
activity_log
will also an empty collection. This issue is happening in other deletions but they also involve firing a chain of jobs, this is just handled by a simple$administrator->delete()
in the admin controller, which has lead me to think it's something to do with the relationship between testing and model events.Beta Was this translation helpful? Give feedback.
All reactions