PHPUnit override mock “willReturn()” statement

前端 未结 0 1022
太阳男子
太阳男子 2021-01-03 03:46

I\'m having an issue with PHPUnit mocks, when I call method()->willReturn() on the second time it seems to maintain the first value defined on setUp:



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题