Further coding standards fixes.
This commit is contained in:
parent
94c6095df3
commit
c2c3c22ff5
@ -10,4 +10,4 @@ return yii\helpers\ArrayHelper::merge(
|
||||
],
|
||||
],
|
||||
]
|
||||
);
|
||||
);
|
||||
|
@ -10,4 +10,4 @@ return yii\helpers\ArrayHelper::merge(
|
||||
],
|
||||
],
|
||||
]
|
||||
);
|
||||
);
|
||||
|
@ -10,4 +10,4 @@ return yii\helpers\ArrayHelper::merge(
|
||||
],
|
||||
],
|
||||
]
|
||||
);
|
||||
);
|
||||
|
@ -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);
|
||||
|
@ -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']],
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user