Merge pull request #2620 from AlexGx/apps-codestyle-fix

apps code style fixes
This commit is contained in:
Carsten Brandt
2014-03-05 02:53:29 +01:00
10 changed files with 15 additions and 25 deletions

View File

@@ -32,7 +32,7 @@ class FixtureHelper extends Module
* to use in acceptance and functional tests. * to use in acceptance and functional tests.
* @param array $settings * @param array $settings
*/ */
public function _beforeSuite($settings = array()) public function _beforeSuite($settings = [])
{ {
$this->loadFixtures(); $this->loadFixtures();
} }
@@ -54,5 +54,4 @@ class FixtureHelper extends Module
], ],
]; ];
} }
} }

View File

@@ -18,5 +18,4 @@ class LoginPage extends BasePage
$this->guy->fillField('input[name="LoginForm[password]"]', $password); $this->guy->fillField('input[name="LoginForm[password]"]', $password);
$this->guy->click('login-button'); $this->guy->click('login-button');
} }
} }

View File

@@ -65,5 +65,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;
} }
} }

View File

@@ -20,5 +20,4 @@ class SignupPage extends BasePage
} }
$this->guy->click('signup-button'); $this->guy->click('signup-button');
} }
} }

View File

@@ -79,5 +79,4 @@ class SignupCest
$I->expectTo('see that user logged in'); $I->expectTo('see that user logged in');
$I->see('Logout (tester)'); $I->see('Logout (tester)');
} }
} }

View File

@@ -79,5 +79,4 @@ class SignupCest
$I->expectTo('see that user logged in'); $I->expectTo('see that user logged in');
$I->see('Logout (tester)'); $I->see('Logout (tester)');
} }
} }

View File

@@ -56,5 +56,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';
} }
} }

View File

@@ -75,5 +75,4 @@ class PasswordResetRequestFormTest extends DbTestCase
{ {
return Yii::getAlias(Yii::$app->mail->fileTransportPath) . '/testing_message.eml'; return Yii::getAlias(Yii::$app->mail->fileTransportPath) . '/testing_message.eml';
} }
} }

View File

@@ -33,5 +33,4 @@ class ResetPasswordFormTest extends DbTestCase
], ],
]; ];
} }
} }

View File

@@ -43,5 +43,4 @@ class SignupFormTest extends DbTestCase
], ],
]; ];
} }
} }