Class 'Mockery' not found

后端 未结 1 2146
南方客
南方客 2021-02-20 07:13

I use laravel (4.1) framework and i read \"Laravel-testing-decoded\", it\'s a ebook by Jeffrey Wey.

I want to test my modal User and my method setPasswordAttribute

1条回答
  •  隐瞒了意图╮
    2021-02-20 07:19

    Do you have Mockery installed? If not, update your composer.json:

    "require-dev": {
        "mockery/mockery": "dev-master@dev"
    }
    

    Then run:

     composer update
    

    0 讨论(0)
提交回复
热议问题