think-phpunit icon indicating copy to clipboard operation
think-phpunit copied to clipboard

Exception Had Been Thrown While Controller Extends RestController

Open mcdanci opened this issue 7 years ago • 0 comments

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

mcdanci avatar Oct 11 '17 10:10 mcdanci