BadMethodCallException: Method wrap does not exist?求教
'''php
1) Tests\Feature\ExampleTest::testBasicTest
BadMethodCallException: Method wrap does not exist.
/Users/panda/.composer/vendor/illuminate/support/Illuminate/Support/Traits/MacroableTrait.php:51
/Code/github/larabbs/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php:235
/Code/github/larabbs/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php:190
/Code/github/larabbs/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php:173
/Code/github/larabbs/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:211
/Code/github/larabbs/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php:296
/Code/github/larabbs/tests/CreatesApplication.php:18
/Code/github/larabbs/vendor/laravel/framework/src/Illuminate/Foundation/Testing/TestCase.php:91
/Code/github/larabbs/vendor/laravel/framework/src/Illuminate/Foundation/Testing/TestCase.php:68
/Users/panda/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php:195
/Users/panda/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php:148
'''
请问这个怎么解决?phpunit 版本一致
推荐文章: