Got this error:
ERROR: error: '"$emailAddress" must be a valid email address. Got: xxxxx@gmailæ.com' - #0 sendgrid/sendgrid/lib/mail/EmailAddress.php(69): SendGrid\Helper\Assert::email('xxxxx@gma...', 'emailAddress')
$emailAddress should be expanded
|
* @expectedExceptionMessage "$emailAddress" must be a string. |
is also wrong:
"$name" must be a string ?
I think that test is all wrong
Got this error:
ERROR: error: '"$emailAddress" must be a valid email address. Got: xxxxx@gmailæ.com' - #0 sendgrid/sendgrid/lib/mail/EmailAddress.php(69): SendGrid\Helper\Assert::email('xxxxx@gma...', 'emailAddress')$emailAddress should be expanded
sendgrid-php/test/unit/EmailAddressTest.php
Line 675 in 8fad4ab
is also wrong:
"$name" must be a string?I think that test is all wrong