In fact, I’m using function movePosition in app/Action/Base.php, it calls fireEvent … so It should works automatically. I’ll review my code about this.
When I get a moment, I’ll take a look, unless someone beats me to it.
Basically, you are setting up your action 3 times and expecting the fired event thats called during the action to trigger the next action, which in theory, it should. Correct?
Thanks, for your time. I think I should be able to resolve the issue by myself.
But, I’d like to set some unit tests. I’m not really a php developper. I do not understand how to properly execute the phpunit 'PluginTest.php file' while including all kanboard source workspace to make it works.
Have you a solution for this ? (Environment variable…)
About the automatic action firing the events, the problem is that you’re calling the move method with its 6th parameter (that is the $fire_events) false: