We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Description
Behat version is v3.11.0
I have a custom step which checks a phone number is saved correctly to the database.
Definition
And my contact number is "02087599036"
Code
/** * @Then my contact number is :phone */ public function myContactNumberIs(string $phone) {
Expected
I expect that $phone should contain "02087599036"
$phone
Actual
$phone is stripped of the leading 0 e.g. "2087599036"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
Behat version is v3.11.0
I have a custom step which checks a phone number is saved correctly to the database.
Definition
Code
Expected
I expect that
$phone
should contain "02087599036"Actual
$phone
is stripped of the leading 0 e.g. "2087599036"The text was updated successfully, but these errors were encountered: