phpunit : test api and mock some method in same controller, but mocked method is not work

后端 未结 0 1073
孤独总比滥情好
孤独总比滥情好 2021-02-03 10:58

controller code

class testController extends \\Illuminate\\Routing\\Controller
{
    public function test1() {
        $a = $this->test2();
        ...
    }

         


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