diff --git a/composer.json b/composer.json index 7db83cf..0edbf98 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,6 @@ "php": ">=7.4.0", "yiisoft/yii2": "~2.0.14", "yiisoft/yii2-bootstrap4": "~2.0.0", - "yiisoft/yii2-swiftmailer": "~2.0.0 || ~2.1.0", "yiisoft/yii2-symfonymailer": "~2.0.3" }, "require-dev": { diff --git a/config/test.php b/config/test.php index f95bc03..f2e26ef 100644 --- a/config/test.php +++ b/config/test.php @@ -17,6 +17,7 @@ return [ 'db' => $db, 'mailer' => [ 'useFileTransport' => true, + 'messageClass' => 'yii\symfonymailer\Message' ], 'assetManager' => [ 'basePath' => __DIR__ . '/../web/assets',