我通过phpunit叫我的API的方法,通过它的名字来自一个特定的测试,我有这样的错误: exception 'Symfony\Component\Routing\Exception\MissingMandatoryParametersException' with message 'Some mandatory parameters are missing ("_locale") to gene
我使用的测试codecept功能测试我的yii2.I的API把硬编码的测试参数这样 use tests\codeception\backend\FunctionalTester;
$I = new FunctionalTester($scenario);
$I->wantTo('Check when authenticated');
$I->sendPOST('/login', ['pass