diff --git a/api/controllers/OptionsController.php b/api/controllers/OptionsController.php index 5e78008..85497b0 100644 --- a/api/controllers/OptionsController.php +++ b/api/controllers/OptionsController.php @@ -2,8 +2,6 @@ namespace api\controllers; use api\components\Captcha\CaptchaRegistry; -use api\components\Captcha\CaptchaValidator; -use api\components\Captcha\Providers\ProviderInterface; use api\filters\NginxCache; use yii\helpers\ArrayHelper; diff --git a/api/tests/functional/OptionsCest.php b/api/tests/functional/OptionsCest.php index b08b3d8..f7c51bd 100644 --- a/api/tests/functional/OptionsCest.php +++ b/api/tests/functional/OptionsCest.php @@ -19,7 +19,6 @@ class OptionsCest { $I->canSeeResponseCodeIs(200); $I->canSeeResponseIsJson(); $I->canSeeResponseContainsJson([ - 'reCaptchaPublicKey' => 'public-key', 'captcha' => [ 'recaptcha' => [ 'publicKey' => 'public-key',