think-phpunit
think-phpunit copied to clipboard
Exception Had Been Thrown While Controller Extends RestController
According to the guide in README.md, I got the following Exception, while the controller extends RestController
:
Use of undefined constant __EXT__ - assumed '__EXT__'
~\devhood\candy\s-candy\ThinkPHP\Library\Think\Controller\RestController.class.php:42
~\devhood\candy\s-candy\vendor\snowair\think-phpunit\Think\PhpUnit.php:54
~\devhood\candy\s-candy\vendor\snowair\think-phpunit\Think\PhpUnit.php:33
~\devhood\candy\s-candy\test\G3ControllerTest.php:27