mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-09 01:27:20 +08:00
newlines fixed, code-guy deleted
This commit is contained in:
@ -11,4 +11,4 @@ return [
|
||||
'showScriptName' => true,
|
||||
],
|
||||
],
|
||||
];
|
||||
];
|
||||
|
||||
@ -25,4 +25,4 @@ modules:
|
||||
# WebDriver:
|
||||
# url: 'http://localhost'
|
||||
# browser: firefox
|
||||
# restart: true
|
||||
# restart: true
|
||||
|
||||
@ -15,4 +15,4 @@ modules:
|
||||
- common\tests\_helpers\FixtureHelper
|
||||
config:
|
||||
Yii2:
|
||||
configFile: 'tests/functional/_config.php'
|
||||
configFile: 'tests/functional/_config.php'
|
||||
|
||||
@ -11,4 +11,4 @@ return [
|
||||
'showScriptName' => true,
|
||||
],
|
||||
],
|
||||
];
|
||||
];
|
||||
|
||||
@ -6,4 +6,4 @@
|
||||
class_name: CodeGuy
|
||||
modules:
|
||||
enabled:
|
||||
- CodeHelper
|
||||
- CodeHelper
|
||||
|
||||
@ -11,4 +11,4 @@ return [
|
||||
'showScriptName' => true,
|
||||
],
|
||||
],
|
||||
];
|
||||
];
|
||||
|
||||
@ -11,4 +11,4 @@ return [
|
||||
'showScriptName' => true,
|
||||
],
|
||||
],
|
||||
];
|
||||
];
|
||||
|
||||
@ -19,4 +19,4 @@ class ContactPage extends BasePage
|
||||
}
|
||||
$this->guy->click('contact-button');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -21,4 +21,4 @@ class SignupPage extends BasePage
|
||||
$this->guy->click('signup-button');
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@ -25,4 +25,4 @@ modules:
|
||||
# WebDriver:
|
||||
# url: 'http://localhost'
|
||||
# browser: firefox
|
||||
# restart: true
|
||||
# restart: true
|
||||
|
||||
@ -27,4 +27,4 @@ $I->dontSee('Login');
|
||||
$I->dontSee('Signup');
|
||||
$I->click('Logout (erau)');
|
||||
$I->dontSee('Logout (erau)');
|
||||
$I->see('Login');
|
||||
$I->see('Login');
|
||||
|
||||
@ -15,4 +15,4 @@ modules:
|
||||
- common\tests\_helpers\FixtureHelper
|
||||
config:
|
||||
Yii2:
|
||||
configFile: 'tests/functional/_config.php'
|
||||
configFile: 'tests/functional/_config.php'
|
||||
|
||||
@ -1,47 +0,0 @@
|
||||
<?php
|
||||
// This class was automatically generated by build task
|
||||
// You should not change it manually as it will be overwritten on next build
|
||||
// @codingStandardsIgnoreFile
|
||||
|
||||
|
||||
use \Codeception\Maybe;
|
||||
use Codeception\Module\CodeHelper;
|
||||
|
||||
/**
|
||||
* Inherited methods
|
||||
* @method void execute($callable)
|
||||
* @method void wantToTest($text)
|
||||
* @method void wantTo($text)
|
||||
* @method void expectTo($prediction)
|
||||
* @method void expect($prediction)
|
||||
* @method void amGoingTo($argumentation)
|
||||
* @method void am($role)
|
||||
* @method void lookForwardTo($achieveValue)
|
||||
* @method void offsetGet($offset)
|
||||
* @method void offsetSet($offset, $value)
|
||||
* @method void offsetExists($offset)
|
||||
* @method void offsetUnset($offset)
|
||||
*/
|
||||
|
||||
class CodeGuy extends \Codeception\AbstractGuy
|
||||
{
|
||||
|
||||
/**
|
||||
* This method is generated.
|
||||
* Documentation taken from corresponding module.
|
||||
* ----------------------------------------------
|
||||
*
|
||||
*
|
||||
* @see Codeception\Module::getName()
|
||||
* @return \Codeception\Maybe
|
||||
*/
|
||||
public function getName() {
|
||||
$this->scenario->addStep(new \Codeception\Step\Action('getName', func_get_args()));
|
||||
if ($this->scenario->running()) {
|
||||
$result = $this->scenario->runStep();
|
||||
return new Maybe($result);
|
||||
}
|
||||
return new Maybe();
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,2 +1,2 @@
|
||||
<?php
|
||||
// Here you can initialize variables that will for your tests
|
||||
// Here you can initialize variables that will for your tests
|
||||
|
||||
Reference in New Issue
Block a user