withConsecutive() was removed in PHPUnit 10. The workarounds were ugly. PHPUnit 13 finally fixes this properly:
https://phpunit.expert/articles/better-than-withconsecutive.html?ref=mastodon
withConsecutive() was removed in PHPUnit 10. The workarounds were ugly. PHPUnit 13 finally fixes this properly:
https://phpunit.expert/articles/better-than-withconsecutive.html?ref=mastodon
@sebastian withParameterSetsInOrder() works like a charm!
Just wondering, how can I define the return values for the different calls?
@sebastian thx. I think I see where I went in a wrong direction. I configured an array, not individual return values.
I may write a short blog post about this (when I got it working) :)