Further coding standards fixes.

This commit is contained in:
maximal 2014-02-24 20:17:38 +04:00
parent 94c6095df3
commit c2c3c22ff5
5 changed files with 5 additions and 5 deletions

View File

@ -10,4 +10,4 @@ return yii\helpers\ArrayHelper::merge(
],
],
]
);
);

View File

@ -10,4 +10,4 @@ return yii\helpers\ArrayHelper::merge(
],
],
]
);
);

View File

@ -10,4 +10,4 @@ return yii\helpers\ArrayHelper::merge(
],
],
]
);
);

View File

@ -42,7 +42,7 @@ class ContactFormTest extends TestCase
expect('email file should exist', file_exists($this->getMessageFile()))->true();
});
$this->specify('message should contain correct data', function () use($model) {
$this->specify('message should contain correct data', function () use ($model) {
$emailMessage = file_get_contents($this->getMessageFile());
expect('email should contain user name', $emailMessage)->contains($model->name);

View File

@ -40,7 +40,7 @@ AppAsset::register($this);
['label' => 'Contact', 'url' => ['/site/contact']],
Yii::$app->user->isGuest ?
['label' => 'Login', 'url' => ['/site/login']] :
['label' => 'Logout (' . Yii::$app->user->identity->username . ')' ,
['label' => 'Logout (' . Yii::$app->user->identity->username . ')',
'url' => ['/site/logout'],
'linkOptions' => ['data-method' => 'post']],
],