public function FeatureContext::intendUserName in Open Social 10.2.x
Same name and namespace in other branches
- 10.3.x tests/behat/features/bootstrap/FeatureContext.php \Drupal\social\Behat\FeatureContext::intendUserName()
- 10.0.x tests/behat/features/bootstrap/FeatureContext.php \Drupal\social\Behat\FeatureContext::intendUserName()
- 10.1.x tests/behat/features/bootstrap/FeatureContext.php \Drupal\social\Behat\FeatureContext::intendUserName()
Stores the user's name in $this->intended_user_names.
This goes before a register form manipulation and submission.
@Given I intend to create a user named :name
See also
cleanUsers()
File
- tests/
behat/ features/ bootstrap/ FeatureContext.php, line 749
Class
- FeatureContext
- Defines application features from the specific context.
Namespace
Drupal\social\BehatCode
public function intendUserName($name) {
$this->intended_user_names[] = $name;
}