Commit 5d14d788 by maximal

Further coding standards fixes.

parent b560398b
...@@ -10,4 +10,4 @@ return yii\helpers\ArrayHelper::merge( ...@@ -10,4 +10,4 @@ return yii\helpers\ArrayHelper::merge(
], ],
], ],
] ]
); );
\ No newline at end of file
...@@ -10,4 +10,4 @@ return yii\helpers\ArrayHelper::merge( ...@@ -10,4 +10,4 @@ return yii\helpers\ArrayHelper::merge(
], ],
], ],
] ]
); );
\ No newline at end of file
...@@ -10,4 +10,4 @@ return yii\helpers\ArrayHelper::merge( ...@@ -10,4 +10,4 @@ return yii\helpers\ArrayHelper::merge(
], ],
], ],
] ]
); );
\ No newline at end of file
...@@ -42,7 +42,7 @@ class ContactFormTest extends TestCase ...@@ -42,7 +42,7 @@ class ContactFormTest extends TestCase
expect('email file should exist', file_exists($this->getMessageFile()))->true(); 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()); $emailMessage = file_get_contents($this->getMessageFile());
expect('email should contain user name', $emailMessage)->contains($model->name); expect('email should contain user name', $emailMessage)->contains($model->name);
......
...@@ -40,7 +40,7 @@ AppAsset::register($this); ...@@ -40,7 +40,7 @@ AppAsset::register($this);
['label' => 'Contact', 'url' => ['/site/contact']], ['label' => 'Contact', 'url' => ['/site/contact']],
Yii::$app->user->isGuest ? Yii::$app->user->isGuest ?
['label' => 'Login', 'url' => ['/site/login']] : ['label' => 'Login', 'url' => ['/site/login']] :
['label' => 'Logout (' . Yii::$app->user->identity->username . ')' , ['label' => 'Logout (' . Yii::$app->user->identity->username . ')',
'url' => ['/site/logout'], 'url' => ['/site/logout'],
'linkOptions' => ['data-method' => 'post']], 'linkOptions' => ['data-method' => 'post']],
], ],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment