mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-09 09:47:25 +08:00
newlines fixed, code-guy deleted
This commit is contained in:
@ -11,4 +11,4 @@ return [
|
|||||||
'showScriptName' => true,
|
'showScriptName' => true,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|||||||
@ -25,4 +25,4 @@ modules:
|
|||||||
# WebDriver:
|
# WebDriver:
|
||||||
# url: 'http://localhost'
|
# url: 'http://localhost'
|
||||||
# browser: firefox
|
# browser: firefox
|
||||||
# restart: true
|
# restart: true
|
||||||
|
|||||||
@ -15,4 +15,4 @@ modules:
|
|||||||
- common\tests\_helpers\FixtureHelper
|
- common\tests\_helpers\FixtureHelper
|
||||||
config:
|
config:
|
||||||
Yii2:
|
Yii2:
|
||||||
configFile: 'tests/functional/_config.php'
|
configFile: 'tests/functional/_config.php'
|
||||||
|
|||||||
@ -11,4 +11,4 @@ return [
|
|||||||
'showScriptName' => true,
|
'showScriptName' => true,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|||||||
@ -6,4 +6,4 @@
|
|||||||
class_name: CodeGuy
|
class_name: CodeGuy
|
||||||
modules:
|
modules:
|
||||||
enabled:
|
enabled:
|
||||||
- CodeHelper
|
- CodeHelper
|
||||||
|
|||||||
@ -11,4 +11,4 @@ return [
|
|||||||
'showScriptName' => true,
|
'showScriptName' => true,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|||||||
@ -11,4 +11,4 @@ return [
|
|||||||
'showScriptName' => true,
|
'showScriptName' => true,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|||||||
@ -19,4 +19,4 @@ class ContactPage extends BasePage
|
|||||||
}
|
}
|
||||||
$this->guy->click('contact-button');
|
$this->guy->click('contact-button');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -21,4 +21,4 @@ class SignupPage extends BasePage
|
|||||||
$this->guy->click('signup-button');
|
$this->guy->click('signup-button');
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -25,4 +25,4 @@ modules:
|
|||||||
# WebDriver:
|
# WebDriver:
|
||||||
# url: 'http://localhost'
|
# url: 'http://localhost'
|
||||||
# browser: firefox
|
# browser: firefox
|
||||||
# restart: true
|
# restart: true
|
||||||
|
|||||||
@ -27,4 +27,4 @@ $I->dontSee('Login');
|
|||||||
$I->dontSee('Signup');
|
$I->dontSee('Signup');
|
||||||
$I->click('Logout (erau)');
|
$I->click('Logout (erau)');
|
||||||
$I->dontSee('Logout (erau)');
|
$I->dontSee('Logout (erau)');
|
||||||
$I->see('Login');
|
$I->see('Login');
|
||||||
|
|||||||
@ -15,4 +15,4 @@ modules:
|
|||||||
- common\tests\_helpers\FixtureHelper
|
- common\tests\_helpers\FixtureHelper
|
||||||
config:
|
config:
|
||||||
Yii2:
|
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
|
<?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