Closed

Description
This issue is automatically created based on existing pull request: #28034: magento/magento2#: GraphQL. Mutation: sendEmailToFriend. Test coverage for “Please provide Email of sender.”
Description (*)
PR provides a test coverage for Please provide Email of sender.
error of sendEmailToFriend
miutation.
Related Pull Requests
Fixed Issues (if relevant)
- magento/magento2#<issue_number>: Issue title
Manual testing scenarios (*)
- GraphQl query
mutation {
sendEmailToFriend(
input: {
product_id: 1
sender: {
name: "Name"
email: ""
message: "Lorem Ipsum"
}
recipients: [
{
name: "Recipient Name 1"
email:"[email protected]"
},
{
name: "Recipient Name 2"
email:"[email protected]"
}
]
}
) {
sender {
name
email
message
}
recipients {
name
email
}
}
}
Questions or comments
Contribution checklist (*)
- Pull request has a meaningful description of its purpose
- All commits are accompanied by meaningful commit messages
- All new or changed code is covered with unit/integration tests (if applicable)
- All automated tests passed successfully (all builds are green)