Closed dbu closed 6 years ago
There is no test for it unfortunately.
Please test that method through preRemove
, for instance
@dbu ping? shall we help for the testing?
i basically copied the orm test, and indeed found that we had a second occurence of getDocument in the listener! yay for tests :-D
That feeling when the tests prove useful right when they are written :D
I am targeting this branch, because its a bugfix.
Changelog
Subject
In symfony-cmf we see an exception with this invalidator: https://github.com/symfony-cmf/cmf-sandbox/pull/398
I don't know why we did not see it before (likely we were not using this) and i think this listener never actually worked. There is no test for it unfortunately.