This commit is contained in:
Mark 2013-12-31 23:13:47 +04:00
parent 5c00677893
commit 832b7fa911

View File

@ -13,8 +13,7 @@ class ContactFormTest extends TestCase
protected function setUp() protected function setUp()
{ {
parent::setUp(); parent::setUp();
Yii::$app->mail->fileTransportCallback = function ($mailer, $message) Yii::$app->mail->fileTransportCallback = function ($mailer, $message) {
{
return 'testing_message.eml'; return 'testing_message.eml';
}; };
} }