diff --git a/tests/framework/filters/auth/AuthTest.php b/tests/framework/filters/auth/AuthTest.php index dbb6c28..ddb2151 100644 --- a/tests/framework/filters/auth/AuthTest.php +++ b/tests/framework/filters/auth/AuthTest.php @@ -15,7 +15,7 @@ use yii\filters\auth\HttpBearerAuth; use yii\filters\auth\QueryParamAuth; use yii\filters\auth\HttpHeaderAuth; use yii\helpers\ArrayHelper; -use yii\rest\Controller; +use yii\web\Controller; use yii\web\UnauthorizedHttpException; use yiiunit\framework\filters\stubs\UserIdentity; diff --git a/tests/framework/filters/auth/CompositeAuthTest.php b/tests/framework/filters/auth/CompositeAuthTest.php index 2b35e1b..2b958d8 100644 --- a/tests/framework/filters/auth/CompositeAuthTest.php +++ b/tests/framework/filters/auth/CompositeAuthTest.php @@ -11,7 +11,7 @@ use Yii; use yii\filters\auth\AuthMethod; use yii\filters\auth\CompositeAuth; use yii\filters\auth\HttpBearerAuth; -use yii\rest\Controller; +use yii\web\Controller; use yiiunit\framework\web\UserIdentity; /**