You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 20, 2023. It is now read-only.
I ran into the following problem using the SoftDeleteBehavior:
When a model has an association with another one and you want to unit test one of them, you will run into an error message like:
I created a test app to showcase the problem:
https://github.com/ravage84/softdeletebbehavior-prob
Way to reproduce:
php console\cake.php schema createphp console\cake.php test app Model/Post --stderrTested with CakePHP 2.6.1, 2.6.5, 2.5.8 & 2.4.10.using the dev-master of CakeDCs SoftDeleteBehavior or @dereuromark 's version at https://github.com/dereuromark/cakephp-tools/blob/2.5/Model/Behavior/SoftDeleteBehavior.php
The problem was already mentioned here:
dereuromark/cakephp-tools#135