Mockery mocking db queries with anonymous functions as argument of a laravel model

后端 未结 0 624
甜味超标
甜味超标 2020-12-02 22:21

Hello I\'m trying to mock a query like this with mockery but I\'m not sure how to mock the anonymous function parts:

// $this->stores is a Illuminate\\Data         


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