Browse Source

Merge pull request #2536 from maximal/codestandards

Closing and opening braces in Yii2 coding standards.
tags/2.0.0-beta
Alexander Makarov 11 years ago
parent
commit
fcac7f64b3
  1. 2
      apps/basic/tests/unit/models/ContactFormTest.php
  2. 2
      apps/basic/tests/unit/models/LoginFormTest.php

2
apps/basic/tests/unit/models/ContactFormTest.php

@ -7,7 +7,6 @@ use yii\codeception\TestCase;
class ContactFormTest extends TestCase class ContactFormTest extends TestCase
{ {
use \Codeception\Specify; use \Codeception\Specify;
protected function setUp() protected function setUp()
@ -56,5 +55,4 @@ class ContactFormTest extends TestCase
{ {
return Yii::getAlias(Yii::$app->mail->fileTransportPath) . '/testing_message.eml'; return Yii::getAlias(Yii::$app->mail->fileTransportPath) . '/testing_message.eml';
} }
} }

2
apps/basic/tests/unit/models/LoginFormTest.php

@ -8,7 +8,6 @@ use app\models\User;
class LoginFormTest extends TestCase class LoginFormTest extends TestCase
{ {
use \Codeception\Specify; use \Codeception\Specify;
protected function tearDown() protected function tearDown()
@ -64,5 +63,4 @@ class LoginFormTest extends TestCase
$loginForm->expects($this->any())->method('getUser')->will($this->returnValue($user)); $loginForm->expects($this->any())->method('getUser')->will($this->returnValue($user));
return $loginForm; return $loginForm;
} }
} }

Loading…
Cancel
Save