mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-18 23:43:19 +08:00
Merge pull request #2620 from AlexGx/apps-codestyle-fix
apps code style fixes
This commit is contained in:
@@ -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
|
|||||||
],
|
],
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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');
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -20,5 +20,4 @@ class SignupPage extends BasePage
|
|||||||
}
|
}
|
||||||
$this->guy->click('signup-button');
|
$this->guy->click('signup-button');
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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)');
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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)');
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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';
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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';
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -33,5 +33,4 @@ class ResetPasswordFormTest extends DbTestCase
|
|||||||
],
|
],
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -43,5 +43,4 @@ class SignupFormTest extends DbTestCase
|
|||||||
],
|
],
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user